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. Built from https://develop.svn.wordpress.org/trunk@35069 git-svn-id: http://core.svn.wordpress.org/trunk@35034 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
2091ff358d
commit
fe0d59a061
|
@ -123,7 +123,8 @@ function get_the_post_thumbnail( $post = null, $size = 'post-thumbnail', $attr =
|
|||
*
|
||||
* @since 2.9.0
|
||||
*
|
||||
* @param string $size The post thumbnail size.
|
||||
* @param string $size The post thumbnail size. Image size or array of width and height
|
||||
* values (in that order). Default 'post-thumbnail'.
|
||||
*/
|
||||
$size = apply_filters( 'post_thumbnail_size', $size );
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.4-alpha-35068';
|
||||
$wp_version = '4.4-alpha-35069';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue