Ticket #37140: 37140.patch
File 37140.patch, 656 bytes (added by , 9 years ago) |
---|
-
src/wp-includes/class-wp-image-editor-imagick.php
540 540 */ 541 541 try { 542 542 $this->image->rotateImage( new ImagickPixel('none'), 360-$angle ); 543 544 // We need to adjust the EXIF information for the image orientation since we just rotated it. 545 $this->image->setImageOrientation(Imagick::ORIENTATION_UNDEFINED); 543 546 544 547 // Since this changes the dimensions of the image, update the size. 545 548 $result = $this->update_size();