From 3f8aaf753aa26d246d598ecc11b8443911e2bd3d Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Mon, 12 Oct 2015 15:20:23 +0000 Subject: [PATCH] Docs: Adjust documentation for the `$size` parameter in the `image_downside` 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@35035 git-svn-id: http://core.svn.wordpress.org/trunk@35000 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 a437926ae0..686964d841 100644 --- a/wp-includes/media.php +++ b/wp-includes/media.php @@ -168,7 +168,8 @@ function image_downsize( $id, $size = 'medium' ) { * * @param bool $downsize Whether to short-circuit the image downsize. Default false. * @param int $id Attachment ID for image. - * @param array|string $size Size of image, either array or string. Default 'medium'. + * @param array|string $size Size of image. Image size or array of width and height values (in that order). + * Default 'medium'. */ if ( $out = apply_filters( 'image_downsize', false, $id, $size ) ) { return $out; diff --git a/wp-includes/version.php b/wp-includes/version.php index f26b94c10d..60c76300eb 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.4-alpha-35034'; +$wp_version = '4.4-alpha-35035'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.