Files
wordpress-develop/tests/phpunit/tests
Andrew Ozz ba033e4c6f Media: Improve handling of cases where an uploaded image matches exactly a defined intermediate size. In most of these cases the original image has been edited by the user and is "web ready", there is no need for an identical intermediate image.
Introduces the `wp_image_resize_identical_dimensions` filter so plugins and themes can determine whether a new image with identical dimensions should be created, defaults to false.

Props wpdennis, HKandulla, galbaras, azaozz.
See #32437.

git-svn-id: https://develop.svn.wordpress.org/trunk@46077 602fd350-edb4-49c9-b593-d223f7449a82
2019-09-07 01:33:16 +00:00
..
2017-11-30 23:09:33 +00:00
2017-11-30 23:09:33 +00:00
2017-11-30 23:09:33 +00:00
2017-11-30 23:09:33 +00:00
2017-11-30 23:09:33 +00:00
2017-11-30 23:09:33 +00:00
2017-11-30 23:09:33 +00:00
2017-11-30 23:09:33 +00:00
2017-11-30 23:09:33 +00:00
2019-09-05 22:52:29 +00:00
2017-11-30 23:09:33 +00:00
2017-11-30 23:09:33 +00:00