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

See #34257. See [35069].

Built from https://develop.svn.wordpress.org/trunk@35075


git-svn-id: http://core.svn.wordpress.org/trunk@35040 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Drew Jaynes 2015-10-12 16:57:24 +00:00
parent 03a39f75b3
commit 5e67b71443
2 changed files with 3 additions and 3 deletions

View File

@ -123,8 +123,8 @@ function get_the_post_thumbnail( $post = null, $size = 'post-thumbnail', $attr =
* *
* @since 2.9.0 * @since 2.9.0
* *
* @param string $size The post thumbnail size. Image size or array of width and height * @param string|array $size The post thumbnail size. Image size or array of width and height
* values (in that order). Default 'post-thumbnail'. * values (in that order). Default 'post-thumbnail'.
*/ */
$size = apply_filters( 'post_thumbnail_size', $size ); $size = apply_filters( 'post_thumbnail_size', $size );

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.4-alpha-35074'; $wp_version = '4.4-alpha-35075';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.