Revert [22421]. see #6821. see #22308. see #22419.

git-svn-id: http://core.svn.wordpress.org/trunk@22549 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Nacin 2012-11-12 07:47:41 +00:00
parent 1ec12cccb9
commit 78f0c0a9df
1 changed files with 1 additions and 1 deletions

View File

@ -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;