WordPress.org

Make WordPress Core

Changeset 35052


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

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

Props jaspermdegroot.
See #34257.

File:
1 edited

Legend:

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

    r35051 r35052  
    291291 * @param int        $width  Image width in pixels.
    292292 * @param int        $height Image height in pixels.
    293  * @param bool|array $crop   Optional. Whether to crop images to specified height and width or resize.
     293 * @param bool|array $crop   Optional. Whether to crop images to specified width and height or resize.
    294294 *                           An array can specify positioning of the crop area. Default false.
    295295 */
Note: See TracChangeset for help on using the changeset viewer.