Make WordPress Core

Changeset 35038


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

Docs: Adjust documentation for the $size parameter in the get_image_tag hook doc to clarify the required order of width and height values when an array is passed.

See #34257.

File:
1 edited

Legend:

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

    r35037 r35038  
    355355     * @param string $title Attachment title.
    356356     * @param string $align Part of the class name for aligning the image.
    357      * @param string $size  Optional. Default is 'medium'.
     357     * @param string $size  Size of image. Image size or array of width and height values (in that order).
     358     *                      Default 'medium'.
    358359     */
    359360    return apply_filters( 'get_image_tag', $html, $id, $alt, $title, $align, $size );
Note: See TracChangeset for help on using the changeset viewer.