Ticket #22308: class-wp-image-editor-imagick.php.diff
| File class-wp-image-editor-imagick.php.diff, 623 bytes (added by , 13 years ago) |
|---|
-
wp-includes/class-wp-image-editor-imagick.php
150 150 $imagick_extension = strtoupper( self::get_extension( $mime_type ) ); 151 151 152 152 try { 153 return ( (bool) Imagick::queryFormats( $imagick_extension ) );153 return ( (bool) $this->image->queryFormats( $imagick_extension ) ); 154 154 } 155 155 catch ( Exception $e ) { 156 156 return false; … … 407 407 408 408 return true; 409 409 } 410 } 411 No newline at end of file 410 }