mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
Media: Reset Exif orientation after rotate in WP_Image_Editor_Imagick.
Due to inconsistencies in the way browsers handle Exif orientation data, if a user manually rotates an image within WordPress, set the Exif orientation to the default (1) so that the image displays with the same rotation/flip in every browser. Props sanchothefat, triplejumper12, joemcgill, azaozz, markoheijnen, mikeschroder. See #14459. Fixes #37140. git-svn-id: https://develop.svn.wordpress.org/trunk@40123 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
BIN
tests/phpunit/data/images/test-image-upside-down.jpg
Normal file
BIN
tests/phpunit/data/images/test-image-upside-down.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 138 KiB |
Reference in New Issue
Block a user