Make WordPress Core

Changeset 35051


Ignore:
Timestamp:
10/12/2015 03:58:13 PM (9 years ago)
Author:
DrewAPicture
Message:

Docs: Adjust the order of 'width' and 'height' (for consistency) for the $crop parameter documentation in add_image_size().

Props jaspermdegroot.
See #34257.

File:
1 edited

Legend:

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

    r35049 r35051  
    232232 * @param int        $width  Image width in pixels.
    233233 * @param int        $height Image height in pixels.
    234  * @param bool|array $crop   Optional. Whether to crop images to specified height and width or resize.
     234 * @param bool|array $crop   Optional. Whether to crop images to specified width and height or resize.
    235235 *                           An array can specify positioning of the crop area. Default false.
    236236 */
Note: See TracChangeset for help on using the changeset viewer.