WordPress.org

Make WordPress Core

Changeset 35049


Ignore:
Timestamp:
10/12/2015 03:52:30 PM (5 years ago)
Author:
DrewAPicture
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/media.php

    r35048 r35049  
    24402440 *
    24412441 * @param bool         $prev Optional. Whether to display the next (false) or previous (true) link. Default true.
    2442  * @param string|array $size Optional. Registered image size or flat array of height and width dimensions.
    2443  *                                     Default 'thumbnail'.
     2442 * @param string|array $size Optional. Image size. Accepts any valid image size, or an array of width and height
     2443 *                           values in pixels (in that order). Default 'thumbnail'.
    24442444 * @param bool         $text Optional. Link text. Default false.
    24452445 */
Note: See TracChangeset for help on using the changeset viewer.