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

git-svn-id: https://develop.svn.wordpress.org/trunk@22549 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2012-11-12 07:47:41 +00:00
parent c2bef6792f
commit 4bbe50bf7d
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 ) );
try {
return ( (bool) $this->image->queryFormats( $imagick_extension ) );
return ( (bool) Imagick::queryFormats( $imagick_extension ) );
}
catch ( Exception $e ) {
return false;