git-svn-id: http://core.svn.wordpress.org/trunk@22549 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
1ec12cccb9
commit
78f0c0a9df
|
@ -150,7 +150,7 @@ class WP_Image_Editor_Imagick extends WP_Image_Editor {
|
||||||
$imagick_extension = strtoupper( self::get_extension( $mime_type ) );
|
$imagick_extension = strtoupper( self::get_extension( $mime_type ) );
|
||||||
|
|
||||||
try {
|
try {
|
||||||
return ( (bool) $this->image->queryFormats( $imagick_extension ) );
|
return ( (bool) Imagick::queryFormats( $imagick_extension ) );
|
||||||
}
|
}
|
||||||
catch ( Exception $e ) {
|
catch ( Exception $e ) {
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue