Docs: Adjust documentation for the `$size` parameter in `adjacent_image_link()` to clarify the required order of width and height values when passing an array.
See #34257. Built from https://develop.svn.wordpress.org/trunk@35049 git-svn-id: http://core.svn.wordpress.org/trunk@35014 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
81f67bae13
commit
d0a392a34c
|
@ -2439,8 +2439,8 @@ function next_image_link( $size = 'thumbnail', $text = false ) {
|
|||
* @since 2.5.0
|
||||
*
|
||||
* @param bool $prev Optional. Whether to display the next (false) or previous (true) link. Default true.
|
||||
* @param string|array $size Optional. Registered image size or flat array of height and width dimensions.
|
||||
* Default 'thumbnail'.
|
||||
* @param string|array $size Optional. Image size. Accepts any valid image size, or an array of width and height
|
||||
* values in pixels (in that order). Default 'thumbnail'.
|
||||
* @param bool $text Optional. Link text. Default false.
|
||||
*/
|
||||
function adjacent_image_link( $prev = true, $size = 'thumbnail', $text = false ) {
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.4-alpha-35048';
|
||||
$wp_version = '4.4-alpha-35049';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue