Upgrade to rc5
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user