From 698b5f688038f108355e79c4331c3ace93956ab8 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Mon, 12 Oct 2015 15:26:25 +0000 Subject: [PATCH] Docs: Adjust documentation for the `$size` parameter in the `get_image_tag_class` 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@35037 git-svn-id: http://core.svn.wordpress.org/trunk@35002 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 75bde9a2c9..34fbeb7bda 100644 --- a/wp-includes/media.php +++ b/wp-includes/media.php @@ -337,7 +337,8 @@ function get_image_tag( $id, $alt, $title, $align, $size = 'medium' ) { * @param string $class CSS class name or space-separated list of classes. * @param int $id Attachment ID. * @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'. */ $class = apply_filters( 'get_image_tag_class', $class, $id, $align, $size ); diff --git a/wp-includes/version.php b/wp-includes/version.php index a04ee2373d..e97099854f 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.4-alpha-35036'; +$wp_version = '4.4-alpha-35037'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.