fixed Post::get_sample_width/height
This commit is contained in:
parent
1ae6c3183b
commit
fd1b89bace
@ -648,12 +648,12 @@ trait PostFileMethods
|
|||||||
|
|
||||||
public function get_sample_width($user = null)
|
public function get_sample_width($user = null)
|
||||||
{
|
{
|
||||||
$this->get_file_sample($user)['width'];
|
return $this->get_file_sample($user)['width'];
|
||||||
}
|
}
|
||||||
|
|
||||||
public function get_sample_height($user = null)
|
public function get_sample_height($user = null)
|
||||||
{
|
{
|
||||||
$this->get_file_sample($user)['height'];
|
return $this->get_file_sample($user)['height'];
|
||||||
}
|
}
|
||||||
|
|
||||||
public function has_jpeg()
|
public function has_jpeg()
|
||||||
|
Reference in New Issue
Block a user