Changeset 22581
- Timestamp:
- 11/14/2012 10:19:32 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/class-wp-image-editor-imagick.php
r22549 r22581 27 27 28 28 /** 29 * Checks to see if current environment supports Imagick 29 * Checks to see if current environment supports Imagick. 30 * 31 * We require Imagick 2.1.1 or greater, based on whether the queryFormats() 32 * method can be called statically. 30 33 * 31 34 * @since 3.5.0 … … 35 38 */ 36 39 public static function test( $args = null ) { 37 if ( ! extension_loaded( 'imagick' ) )40 if ( ! extension_loaded( 'imagick' ) || ! is_callable( 'Imagick', 'queryFormats' ) ) 38 41 return false; 39 42
Note: See TracChangeset
for help on using the changeset viewer.