WordPress.org

Make WordPress Core

Changeset 35054


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

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

Props jaspermdegroot.
See #34257.

File:
1 edited

Legend:

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

    r35053 r35054  
    562562 * @param int    $width  Image width.
    563563 * @param int    $height Image height.
    564  * @param bool   $crop   Optional. Whether to crop image to specified height and width or resize.
     564 * @param bool   $crop   Optional. Whether to crop image to specified width and height or resize.
    565565 *                       Default false.
    566566 * @return false|array False, if no image was created. Metadata array on success.
Note: See TracChangeset for help on using the changeset viewer.