Go to file
Joe McGill 260f39ea0f 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.
Merges [40123] and [40129] to the 4.7 branch.
Fixes #37140. See #14459.


git-svn-id: https://develop.svn.wordpress.org/branches/4.7@40135 602fd350-edb4-49c9-b593-d223f7449a82
2017-02-27 19:32:45 +00:00
src Media: Reset Exif orientation after rotate in WP_Image_Editor_Imagick. 2017-02-27 19:32:45 +00:00
tests Media: Reset Exif orientation after rotate in WP_Image_Editor_Imagick. 2017-02-27 19:32:45 +00:00
tools/i18n
.editorconfig
.gitignore
.jshintrc
.travis.yml Build/Test Tools: Remove PHP 7.1 from allowed failures 2016-12-02 06:43:46 +00:00
Gruntfile.js REST API: Add QUnit tests for wp-api.js and PHPUnit fixture generation. 2017-02-24 22:33:05 +00:00
npm-shrinkwrap.json Build: Remove fsevents from npm-shrinkwrap.json 2016-11-29 04:02:23 +00:00
package.json Post-4.7.2 version bump for 4.7 branch. 2017-01-26 21:57:54 +00:00
phpunit.xml.dist oEmbed: Remove the oEmbed provider unit tests. 2016-10-20 09:15:10 +00:00
wp-cli.yml
wp-config-sample.php
wp-tests-config-sample.php Tests: Use a minimal theme for tests. 2016-10-21 11:02:37 +00:00