Make WordPress Core

Ticket #28634: 28634.patch

File 28634.patch, 490 bytes (added by juliobox, 10 years ago)

Strips an image of all profiles and comments striping off the exif information)

  • class-wp-image-editor-imagick.php

     
    138138                catch ( Exception $e ) {
    139139                        return new WP_Error( 'invalid_image', $e->getMessage(), $this->file );
    140140                }
    141 
     141                $this->image->stripImage();
    142142                $updated_size = $this->update_size();
    143143                if ( is_wp_error( $updated_size ) )
    144144                                return $updated_size;