Upgrade to rc5
This commit is contained in:
@@ -753,18 +753,6 @@ class Page extends ModelWithContent
|
||||
return $this->isHomePage() === true || $this->isErrorPage() === true;
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated 3.0.0 Use `Page::isUnlisted()` instead
|
||||
* @return bool
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function isInvisible(): bool
|
||||
{
|
||||
deprecated('$page->isInvisible() is deprecated, use $page->isUnlisted() instead. $page->isInvisible() will be removed in Kirby 3.5.0.');
|
||||
|
||||
return $this->isUnlisted();
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks if the page has a sorting number
|
||||
*
|
||||
@@ -845,18 +833,6 @@ class Page extends ModelWithContent
|
||||
return $this->isListed() === false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated 3.0.0 Use `Page::isListed()` instead
|
||||
* @return bool
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function isVisible(): bool
|
||||
{
|
||||
deprecated('$page->isVisible() is deprecated, use $page->isListed() instead. $page->isVisible() will be removed in Kirby 3.5.0.');
|
||||
|
||||
return $this->isListed();
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks if the page access is verified.
|
||||
* This is only used for drafts so far.
|
||||
|
Reference in New Issue
Block a user