Make WordPress Core

Ticket #42463: 42463.3.diff

File 42463.3.diff, 1.0 KB (added by audrasjb, 4 years ago)

42463 Docs patch refresh

  • src/wp-includes/media.php

    diff --git a/src/wp-includes/media.php b/src/wp-includes/media.php
    index 40f8870..a725101 100644
    a b function image_downsize( $id, $size = 'medium' ) { 
    267267 * @param string     $name   Image size identifier.
    268268 * @param int        $width  Optional. Image width in pixels. Default 0.
    269269 * @param int        $height Optional. Image height in pixels. Default 0.
    270  * @param bool|array $crop   Optional. Whether to crop images to specified width and height or resize.
    271  *                           An array can specify positioning of the crop area. Default false.
     270 * @param bool|array $crop   Optional. If true, images will be crop without any adjustments
     271 *                           in dimensions. Otherwise try to adjust images dimensions
     272 *                           according specified width and height parameters before crop it.
    272273 */
    273274function add_image_size( $name, $width = 0, $height = 0, $crop = false ) {
    274275        global $_wp_additional_image_sizes;