From 20b780809401f0c4ba20e5113447a4c75075a9c4 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Wed, 23 Mar 2011 18:46:38 +0000 Subject: [PATCH] Document that the size parameter in image_downsize() can also be an array. props scribu, fixes #16263. git-svn-id: https://develop.svn.wordpress.org/trunk@17542 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/media.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/media.php b/wp-includes/media.php index 041c4e561d..fd1c19f2fa 100644 --- a/wp-includes/media.php +++ b/wp-includes/media.php @@ -125,7 +125,7 @@ function image_hwstring($width, $height) { * resize services. * * @param int $id Attachment ID for image. - * @param string $size Optional, default is 'medium'. Size of image, can be 'thumbnail'. + * @param array|string $size Optional, default is 'medium'. Size of image, either array or string. * @return bool|array False on failure, array on success. */ function image_downsize($id, $size = 'medium') {