Ticket #35973: 35973.patch
File 35973.patch, 608 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 if ( array_udiff( $required_methods, get_class_methods( 'Imagick' ), 'strcasecmp') ) { 87 87 return false; 88 } 88 89 89 90 return true; 90 91 }