From ac9254faf8a7d67b1e2ecb2988a3d30553bda345 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Mon, 12 Oct 2015 15:52:30 +0000 Subject: [PATCH] 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. git-svn-id: https://develop.svn.wordpress.org/trunk@35049 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/media.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-includes/media.php b/src/wp-includes/media.php index 0c27267991..94ce3cd53f 100644 --- a/src/wp-includes/media.php +++ b/src/wp-includes/media.php @@ -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 ) {