mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-08 17:38:26 +01:00
Docs: Adjust documentation for the $size
parameter in the admin_post_thumbnail_size
hook doc to clarify the required order of width and height values when an array is passed.
See #34257. See #28512. Built from https://develop.svn.wordpress.org/trunk@35060 git-svn-id: http://core.svn.wordpress.org/trunk@35025 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
9f5d887934
commit
ee544e44d5
@ -1407,8 +1407,8 @@ function _wp_post_thumbnail_html( $thumbnail_id = null, $post = null ) {
|
||||
* @since 4.4.0
|
||||
*
|
||||
* @param string|array $size Post thumbnail image size to display in the meta box. Accepts any valid
|
||||
* image size, or an array of height and width values in pixels. If the
|
||||
* 'post-thumbnail' size is set, default is 'post-thumbnail'. Otherwise,
|
||||
* image size, or an array of width and height values in pixels (in that order).
|
||||
* If the 'post-thumbnail' size is set, default is 'post-thumbnail'. Otherwise,
|
||||
* default is an array with 266 as both the height and width values.
|
||||
* @param int $thumbnail_id Post thumbnail attachment ID.
|
||||
* @param WP_Post $post The post object associated with the thumbnail.
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.4-alpha-35059';
|
||||
$wp_version = '4.4-alpha-35060';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user