From 2d677edb1f48014a3269ee0068fa7887c089efe8 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Mon, 12 Oct 2015 17:11:24 +0000 Subject: [PATCH] Docs: The `$size` parameter for the `get_image_tag` hook also accepts an array. See #34257. See [35038]. Built from https://develop.svn.wordpress.org/trunk@35078 git-svn-id: http://core.svn.wordpress.org/trunk@35043 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/media.php | 14 +++++++------- wp-includes/version.php | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/wp-includes/media.php b/wp-includes/media.php index 95c00ab591..485903e9ac 100644 --- a/wp-includes/media.php +++ b/wp-includes/media.php @@ -349,13 +349,13 @@ function get_image_tag( $id, $alt, $title, $align, $size = 'medium' ) { * * @since 2.6.0 * - * @param string $html HTML content for the image. - * @param int $id Attachment ID. - * @param string $alt Alternate text. - * @param string $title Attachment title. - * @param string $align Part of the class name for aligning the image. - * @param string $size Size of image. Image size or array of width and height values (in that order). - * Default 'medium'. + * @param string $html HTML content for the image. + * @param int $id Attachment ID. + * @param string $alt Alternate text. + * @param string $title Attachment title. + * @param string $align Part of the class name for aligning the image. + * @param string|array $size Size of image. Image size or array of width and height values (in that order). + * Default 'medium'. */ return apply_filters( 'get_image_tag', $html, $id, $alt, $title, $align, $size ); } diff --git a/wp-includes/version.php b/wp-includes/version.php index a9d15d434e..a29008e321 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.4-alpha-35077'; +$wp_version = '4.4-alpha-35078'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.