From ee544e44d548c4194cd2c0e1debb55434e2d498c Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Mon, 12 Oct 2015 16:22:25 +0000 Subject: [PATCH] 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 --- wp-admin/includes/post.php | 4 ++-- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-admin/includes/post.php b/wp-admin/includes/post.php index 1755509ca0..d2480d189a 100644 --- a/wp-admin/includes/post.php +++ b/wp-admin/includes/post.php @@ -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. diff --git a/wp-includes/version.php b/wp-includes/version.php index 426122c2c8..b7acda2021 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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.