Ticket #28634: 28634-2.patch
File 28634-2.patch, 551 bytes (added by , 10 years ago) |
---|
-
class-wp-image-editor-imagick.php
138 138 catch ( Exception $e ) { 139 139 return new WP_Error( 'invalid_image', $e->getMessage(), $this->file ); 140 140 } 141 141 if ( ! apply_filters( 'keep_image_exif', true ) ) { 142 $this->image->stripImage(); 143 } 142 144 $updated_size = $this->update_size(); 143 145 if ( is_wp_error( $updated_size ) ) 144 146 return $updated_size;