Docs: Adjust documentation for the $size parameter in image_get_intermediate_size() to clarify the required order of width and height values when passing an array.

See #34257.

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


git-svn-id: http://core.svn.wordpress.org/trunk@35004 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Drew Jaynes 2015-10-12 15:29:24 +00:00
parent 5a0eaa17de
commit 50fd2488f4
2 changed files with 4 additions and 3 deletions

View File

@ -604,8 +604,9 @@ function image_make_intermediate_size( $file, $width, $height, $crop = false ) {
* @since 2.5.0
*
* @param int $post_id Attachment ID.
* @param array|string $size Optional. Registered image size to retrieve or flat array of height
* and width dimensions. Default 'thumbnail'.
* @param array|string $size Optional. Image size. Accepts any valid image size, or an array
* of width and height values in pixels (in that order).
* Default 'thumbnail'.
* @return false|array False on failure or array of file path, width, and height on success.
*/
function image_get_intermediate_size( $post_id, $size = 'thumbnail' ) {

View File

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