From 4ba75673d85e91cfcbd2171161cca825cb95c4bd Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sun, 5 Oct 2014 17:51:42 +0000 Subject: [PATCH] Update @param docs for wp_get_attachment_image(). see #29869. git-svn-id: https://develop.svn.wordpress.org/trunk@29837 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/media.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/wp-includes/media.php b/src/wp-includes/media.php index 5bd4a11e07..8dbb098766 100644 --- a/src/wp-includes/media.php +++ b/src/wp-includes/media.php @@ -686,10 +686,10 @@ function wp_get_attachment_image_src($attachment_id, $size='thumbnail', $icon = * @see add_image_size() * @uses wp_get_attachment_image_src() Gets attachment file URL and dimensions * - * @param int $attachment_id Image attachment ID. - * @param string $size Optional, default is 'thumbnail'. - * @param bool $icon Optional, default is false. Whether it is an icon. - * @param mixed $attr Optional, attributes for the image markup. + * @param int $attachment_id Image attachment ID. + * @param string|array $size Optional. Default 'thumbnail'. + * @param bool $icon Optional. Whether it is an icon. Default false. + * @param string|array $attr Optional. Attributes for the image markup. Default empty string. * @return string HTML img element or empty string on failure. */ function wp_get_attachment_image($attachment_id, $size = 'thumbnail', $icon = false, $attr = '') {