Make WordPress Core

Changeset 35071


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

Docs: Adjust documentation for the $size parameter in the end_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

    r35070 r35071  
    155155         * @param int    $post_id           The post ID.
    156156         * @param string $post_thumbnail_id The post thumbnail ID.
    157          * @param string $size              The post thumbnail size.
     157         * @param string $size              The post thumbnail size. Image size or array of width
     158         *                                  and height values (in that order). Default 'post-thumbnail'.
    158159         */
    159160        do_action( 'end_fetch_post_thumbnail_html', $post->ID, $post_thumbnail_id, $size );
Note: See TracChangeset for help on using the changeset viewer.