git-svn-id: https://develop.svn.wordpress.org/trunk@22549 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
c2bef6792f
commit
4bbe50bf7d
@ -150,7 +150,7 @@ class WP_Image_Editor_Imagick extends WP_Image_Editor {
|
||||
$imagick_extension = strtoupper( self::get_extension( $mime_type ) );
|
||||
|
||||
try {
|
||||
return ( (bool) $this->image->queryFormats( $imagick_extension ) );
|
||||
return ( (bool) Imagick::queryFormats( $imagick_extension ) );
|
||||
}
|
||||
catch ( Exception $e ) {
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user