Improve the reliability of the crop returned by image_get_intermediate_size().

Add a bunch of unit tests to `tests/image/intermediate_size.php`.

Props joemcgill, ericlewis, kitchin, SergeyBiryukov, chipbennett.
Fixes #17626.

Built from https://develop.svn.wordpress.org/trunk@33807


git-svn-id: http://core.svn.wordpress.org/trunk@33775 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Scott Taylor
2015-08-30 02:41:21 +00:00
parent e49980bdc1
commit 0d3f30ba61
2 changed files with 27 additions and 20 deletions

View File

@@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.4-alpha-33806';
$wp_version = '4.4-alpha-33807';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.