Make WordPress Core

Changeset 35075


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

Docs: The post_thumbnail_size hook can also accept an array (already supported).

See #34257. See [35069].

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/post-thumbnail-template.php

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