Ticket #36968: 36968.patch
File 36968.patch, 840 bytes (added by , 9 years ago) |
---|
-
src/wp-includes/class-wp-image-editor-imagick.php
137 137 if ( ! is_file( $this->file ) && ! preg_match( '|^https?://|', $this->file ) ) 138 138 return new WP_Error( 'error_loading_image', __('File doesn’t exist?'), $this->file ); 139 139 140 /** This filter is documented in wp-includes/class-wp-image-editor- imagick.php */140 /** This filter is documented in wp-includes/class-wp-image-editor-gd.php */ 141 141 // Even though Imagick uses less PHP memory than GD, set higher limit for users that have low PHP.ini limits 142 142 @ini_set( 'memory_limit', apply_filters( 'image_memory_limit', WP_MAX_MEMORY_LIMIT ) ); 143 143