Wordpress/tests/phpunit/tests/image
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
..
base.php
dimensions.php
editor_gd.php PDF Images: Avoid a PHP Warning when attempting to process a file without an extension. 2016-12-16 05:38:41 +00:00
editor_imagick.php Media: Reset Exif orientation after rotate in WP_Image_Editor_Imagick. 2017-02-27 19:32:45 +00:00
editor.php Media: Update unit tests after change to default image quality. 2016-02-22 23:13:27 +00:00
functions.php Media: Keep PDF previews from overwriting files. 2017-02-27 19:24:50 +00:00
header.php
intermediate_size.php Media: Prevent image_get_intermediate_size() from returning cropped images. 2016-07-18 02:13:45 +00:00
meta.php Build/Test Tools: Revert [38759]. PHPUnit's @requires syntax was introduced in PHPUnit 3.7, but the tests for PHP 5.2 use PHPUnit 3.6 because it's the latest version that supports PHP 5.2. 2016-10-08 22:42:12 +00:00
resize_gd.php
resize_imagick.php
resize.php Media/Unit Tests: ensure that the GD absrtraction is used for GD unit tests for Images. Some of the procedural GD API functions can still throw ImagickException, which is fun. 2016-04-29 16:15:37 +00:00
site_icon.php Site Icon: There is no good reason for class-wp-site-icon.php to drop a global instance of itself whenever the file is loaded. The lone use of the global instance of WP_Site_Icon is in an AJAX action that provides virtually no way to override - the file is loaded immediately before the global is used. 2016-08-25 19:08:38 +00:00
size.php