WordPress.org

Make WordPress Core

Ticket #45203: #45203.diff

File #45203.diff, 809 bytes (added by andrewza, 3 years ago)

Patch #45203

  • wp-includes/media.php

    diff --git a/wp-includes/media.php b/wp-includes/media.php
    index ec50703b33..6fb318ca70 100644
    a b function image_downsize( $id, $size = 'medium' ) { 
    266266 * @global array $_wp_additional_image_sizes Associative array of additional image sizes.
    267267 *
    268268 * @param string     $name   Image size identifier.
    269  * @param int        $width  Image width in pixels.
    270  * @param int        $height Image height in pixels.
     269 * @param int        $width  Optional. Image width in pixels.
     270 * @param int        $height Optional. Image height in pixels.
    271271 * @param bool|array $crop   Optional. Whether to crop images to specified width and height or resize.
    272272 *                           An array can specify positioning of the crop area. Default false.
    273273 */