Ticket #35973: 35973.2.patch
File 35973.2.patch, 658 bytes (added by , 9 years ago) |
---|
-
src/wp-includes/class-wp-image-editor-imagick.php
83 83 if ( ! ( defined( 'imagick::COMPRESSION_JPEG' ) && defined( 'imagick::FILTER_TRIANGLE' ) ) ) 84 84 return false; 85 85 86 if ( array_diff( $required_methods, get_class_methods( 'Imagick' ) ) ) 86 $class_methods = array_map( 'strtolower', get_class_methods( 'Imagick' ) ); 87 if ( array_diff( $required_methods, $class_methods ) ) { 87 88 return false; 89 } 88 90 89 91 return true; 90 92 }