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

@@ -385,19 +385,6 @@ class File extends ModelWithContent
return $this->parent()->mediaUrl() . '/' . $this->mediaHash() . '/' . $this->filename();
}
/**
* @deprecated 3.0.0 Use `File::content()` instead
*
* @return \Kirby\Cms\Content
* @codeCoverageIgnore
*/
public function meta()
{
deprecated('$file->meta() is deprecated, use $file->content() instead. $file->meta() will be removed in Kirby 3.5.0.');
return $this->content();
}
/**
* Get the file's last modification time.
*
@@ -758,7 +745,7 @@ class File extends ModelWithContent
*/
public function templateSiblings(bool $self = true)
{
return $this->siblings($self)->filterBy('template', $this->template());
return $this->siblings($self)->filter('template', $this->template());
}
/**