Media: in wp_get_attachment_image_sizes(), to streamline and for performance:

* Change the 3rd arg from `args` to `width`
* Change `wp_image_sizes_args` filter to `wp_get_attachment_image_sizes`

Updates unit tests.

Props joemcgill.
Fixes #34379.

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


git-svn-id: http://core.svn.wordpress.org/trunk@35321 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Scott Taylor
2015-10-22 16:46:24 +00:00
parent 1cd49e2d4d
commit 318ad90a22
2 changed files with 48 additions and 109 deletions

View File

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