Docs: Adjust documentation for the `$size` parameter in `image_downsize()` to clarify the required order of width and height values when passing an array.
See #34257. Built from https://develop.svn.wordpress.org/trunk@35034 git-svn-id: http://core.svn.wordpress.org/trunk@34999 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
7c25ad0613
commit
45174a8996
|
@ -147,8 +147,9 @@ function image_hwstring( $width, $height ) {
|
||||||
* @since 2.5.0
|
* @since 2.5.0
|
||||||
*
|
*
|
||||||
* @param int $id Attachment ID for image.
|
* @param int $id Attachment ID for image.
|
||||||
* @param array|string $size Optional. Image size to scale to. Accepts a registered image size
|
* @param array|string $size Optional. Image size to scale to. Accepts any valid image size,
|
||||||
* or flat array of height and width values. Default 'medium'.
|
* or an array of width and height values in pixels (in that order).
|
||||||
|
* Default 'medium'.
|
||||||
* @return false|array Array containing the image URL, width, height, and boolean for whether
|
* @return false|array Array containing the image URL, width, height, and boolean for whether
|
||||||
* the image is an intermediate size. False on failure.
|
* the image is an intermediate size. False on failure.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.4-alpha-35033';
|
$wp_version = '4.4-alpha-35034';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue