Ticket #22543: 22543-2.diff
| File 22543-2.diff, 614 bytes (added by , 13 years ago) |
|---|
-
wp-includes/class-wp-image-editor-imagick.php
38 38 * @return boolean 39 39 */ 40 40 public static function test( $args = array() ) { 41 if ( ! extension_loaded( 'imagick' ) || ! is_callable( 'Imagick', 'queryFormats' ) )41 if ( ! extension_loaded( 'imagick' ) || ! is_callable( 'Imagick', 'queryFormats' ) || ! is_callable( $this->image, 'setIteratorIndex' ) ) 42 42 return false; 43 43 44 44 return true;