wordpress-develop/tests/phpunit/tests/image
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
..
base.php Coding Standards: Fix the remaining issues in /tests. 2019-07-08 00:55:20 +00:00
dimensions.php 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. 2019-09-07 01:33:16 +00:00
editor.php Replace usages of basename() with wp_basename() in order to support multibyte filenames 2019-03-01 20:57:26 +00:00
editorGd.php Build/Test Tools: Implement assertNotWPError() in appropriate places in the test suite. 2018-03-20 22:34:11 +00:00
editorImagick.php Media: Improve and fix rotate/flip image tests 2019-03-29 02:48:08 +00:00
functions.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
header.php Coding Standards: Move wp-admin/custom-header.php to wp-admin/includes/class-custom-image-header.php 2019-07-17 06:16:27 +00:00
intermediateSize.php Replace usages of basename() with wp_basename() in order to support multibyte filenames 2019-03-01 20:57:26 +00:00
meta.php Code is Poetry. 2017-11-30 23:09:33 +00:00
resize.php Replace usages of basename() with wp_basename() in order to support multibyte filenames 2019-03-01 20:57:26 +00:00
resizeGd.php Code is Poetry. 2017-11-30 23:09:33 +00:00
resizeImagick.php Code is Poetry. 2017-11-30 23:09:33 +00:00
siteIcon.php Coding Standards: Fix the remaining issues in /tests. 2019-07-08 00:55:20 +00:00
size.php Code is Poetry. 2017-11-30 23:09:33 +00:00