Upgrade to rc5

This commit is contained in:
Bastian Allgeier
2020-12-10 11:24:42 +01:00
parent 3fec0d7c93
commit c378376bc9
257 changed files with 13009 additions and 1846 deletions

View File

@@ -174,18 +174,6 @@ trait HasChildren
return $this->drafts()->count() > 0;
}
/**
* @deprecated 3.0.0 Use `Page::hasUnlistedChildren()` instead
* @return bool
* @codeCoverageIgnore
*/
public function hasInvisibleChildren(): bool
{
deprecated('$page->hasInvisibleChildren() is deprecated, use $page->hasUnlistedChildren() instead. $page->hasInvisibleChildren() will be removed in Kirby 3.5.0.');
return $this->hasUnlistedChildren();
}
/**
* Checks if the page has any listed children
*
@@ -206,18 +194,6 @@ trait HasChildren
return $this->children()->unlisted()->count() > 0;
}
/**
* @deprecated 3.0.0 Use `Page::hasListedChildren()` instead
* @return bool
* @codeCoverageIgnore
*/
public function hasVisibleChildren(): bool
{
deprecated('$page->hasVisibleChildren() is deprecated, use $page->hasListedChildren() instead. $page->hasVisibleChildren() will be removed in Kirby 3.5.0.');
return $this->hasListedChildren();
}
/**
* Creates a flat child index
*