wordpress-develop/tests/phpunit/tests/image
Joe McGill 1f48d453d8 Media: Allow PDF fallbacks filter to process custom sizes.
This fixes an oversight in [39246], which added a hook for filtering
the array of sizes used for PDF thumbnails, but failed to provide a way
for sizes added through `add_image_size()` to be processed.

Props gitlost.
Fixes #39231. See #38594.

git-svn-id: https://develop.svn.wordpress.org/trunk@39617 602fd350-edb4-49c9-b593-d223f7449a82
2016-12-16 20:29:26 +00:00
..
base.php In PHPUnit test classes, parent::tearDown() should be the last thing done in tearDown() methods. 2015-03-05 13:14:15 +00:00
dimensions.php Fix edge-case in media cropping where selection and destination are the same size. 2014-11-30 06:26:26 +00:00
editor_gd.php PDF Images: Avoid a PHP Warning when attempting to process a file without an extension. 2016-12-12 06:18:30 +00:00
editor_imagick.php PDF Images: Avoid a PHP Warning when attempting to process a file without an extension. 2016-12-12 06:18:30 +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: Allow PDF fallbacks filter to process custom sizes. 2016-12-16 20:29:26 +00:00
header.php Unit Tests: consolidate the many separate implementations of _make_attachment() into a helper method on WP_UnitTestCase. 2015-10-21 01:58:52 +00:00
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 Move GD-specific resize test to GD-specific resize test file. 2015-01-21 18:27:44 +00:00
resize_imagick.php Wouldn't it be incredible if you could run Unit Tests without all of your uploads being indiscriminately blown away and your upload folder permissions being destroyed? 2014-07-12 07:08:15 +00:00
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 Use round() instead of floor() when resizing image dimensions. 2014-11-30 19:53:18 +00:00