Ticket #35973: 35973.3.patch
File 35973.3.patch, 602 bytes (added by , 9 years ago) |
---|
-
src/wp-includes/class-wp-image-editor-imagick.php
diff --git a/src/wp-includes/class-wp-image-editor-imagick.php b/src/wp-includes/class-wp-image-editor-imagick.php index c769df2..db31757 100644
a b class WP_Image_Editor_Imagick extends WP_Image_Editor { 84 84 return false; 85 85 } 86 86 87 // HHVM Imagick does not support loading from URL, so fail to allow fallback to GD. 88 if ( defined( 'HHVM_VERSION' ) && isset( $args['path'] ) && preg_match( '|^https?://|', $args['path'] ) ) { 89 return false; 90 } 91 87 92 return true; 88 93 } 89 94