Make WordPress Core

Changeset 35069


Ignore:
Timestamp:
10/12/2015 04:47:22 PM (11 years ago)
Author:
DrewAPicture
Message:

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

    r35068 r35069  
    124124         * @since 2.9.0
    125125         *
    126          * @param string $size The post thumbnail size.
     126         * @param string $size The post thumbnail size. Image size or array of width and height
     127         *                     values (in that order). Default 'post-thumbnail'.
    127128         */
    128129        $size = apply_filters( 'post_thumbnail_size', $size );
Note: See TracChangeset for help on using the changeset viewer.