From 5a0eaa17de94ab40cc84fba223623dda3543c341 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Mon, 12 Oct 2015 15:27:25 +0000 Subject: [PATCH] Docs: Adjust documentation for the `$size` parameter in the `get_image_tag` 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@35038 git-svn-id: http://core.svn.wordpress.org/trunk@35003 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/media.php | 3 ++- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/wp-includes/media.php b/wp-includes/media.php index 34fbeb7bda..c5c0949215 100644 --- a/wp-includes/media.php +++ b/wp-includes/media.php @@ -354,7 +354,8 @@ function get_image_tag( $id, $alt, $title, $align, $size = 'medium' ) { * @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 Optional. Default is 'medium'. + * @param string $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 e97099854f..ed6f64bd11 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.4-alpha-35037'; +$wp_version = '4.4-alpha-35038'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.