From 03a39f75b30a5d8089d6fd6806d6aea6f9d007a1 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Mon, 12 Oct 2015 16:56:24 +0000 Subject: [PATCH] Docs: The `$size` parameters in the `begin_fetch_post_thumbnail_html` and `end_fetch_post_thumbnail_html` hooks can also accept an array (already supported). See #34257. See #32246. See [35070] and [35071]. Built from https://develop.svn.wordpress.org/trunk@35074 git-svn-id: http://core.svn.wordpress.org/trunk@35039 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/post-thumbnail-template.php | 16 ++++++++-------- wp-includes/version.php | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/wp-includes/post-thumbnail-template.php b/wp-includes/post-thumbnail-template.php index ec2e64da28..5ebbd452ea 100644 --- a/wp-includes/post-thumbnail-template.php +++ b/wp-includes/post-thumbnail-template.php @@ -137,10 +137,10 @@ function get_the_post_thumbnail( $post = null, $size = 'post-thumbnail', $attr = * * @since 2.9.0 * - * @param int $post_id The post ID. - * @param string $post_thumbnail_id The post thumbnail ID. - * @param string $size The post thumbnail size. Image size or array of width - * and height values (in that order). Default 'post-thumbnail'. + * @param int $post_id The post ID. + * @param string $post_thumbnail_id The post thumbnail ID. + * @param string|array $size The post thumbnail size. Image size or array of width + * and height values (in that order). Default 'post-thumbnail'. */ do_action( 'begin_fetch_post_thumbnail_html', $post->ID, $post_thumbnail_id, $size ); if ( in_the_loop() ) @@ -152,10 +152,10 @@ function get_the_post_thumbnail( $post = null, $size = 'post-thumbnail', $attr = * * @since 2.9.0 * - * @param int $post_id The post ID. - * @param string $post_thumbnail_id The post thumbnail ID. - * @param string $size The post thumbnail size. Image size or array of width - * and height values (in that order). Default 'post-thumbnail'. + * @param int $post_id The post ID. + * @param string $post_thumbnail_id The post thumbnail ID. + * @param string|array $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 e76609df99..78a16ba4d9 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.4-alpha-35073'; +$wp_version = '4.4-alpha-35074'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.