Make WordPress Core


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

Docs: Adjust documentation for the $size parameter in the begin_fetch_post_thumbnail_html 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/post-thumbnail-template.php

    r35069 r35070  
    140140         * @param int    $post_id           The post ID.
    141141         * @param string $post_thumbnail_id The post thumbnail ID.
    142          * @param string $size              The post thumbnail size.
     142         * @param string $size              The post thumbnail size. Image size or array of width
     143         *                                  and height values (in that order). Default 'post-thumbnail'.
    143144         */
    144145        do_action( 'begin_fetch_post_thumbnail_html', $post->ID, $post_thumbnail_id, $size );
Note: See TracChangeset for help on using the changeset viewer.