From 1564eb43b4554565e3c268b47704ee8fcb06f9ae Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Mon, 12 Oct 2015 16:50:25 +0000 Subject: [PATCH] Docs: Adjust documentation for the `$size` parameter in the `end_fetch_post_thumbnail_html` 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@35071 git-svn-id: http://core.svn.wordpress.org/trunk@35036 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/post-thumbnail-template.php | 3 ++- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/wp-includes/post-thumbnail-template.php b/wp-includes/post-thumbnail-template.php index 6c18eb3ad3..0eacd3e1b1 100644 --- a/wp-includes/post-thumbnail-template.php +++ b/wp-includes/post-thumbnail-template.php @@ -154,7 +154,8 @@ function get_the_post_thumbnail( $post = null, $size = 'post-thumbnail', $attr = * * @param int $post_id The post ID. * @param string $post_thumbnail_id The post thumbnail ID. - * @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'. */ do_action( 'end_fetch_post_thumbnail_html', $post->ID, $post_thumbnail_id, $size ); diff --git a/wp-includes/version.php b/wp-includes/version.php index f5d45184f5..318104c9fd 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.4-alpha-35070'; +$wp_version = '4.4-alpha-35071'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.