From 03aac4585d2f29e7a2428092a88ec6c4b637626c Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 15 Mar 2013 17:19:10 +0000 Subject: [PATCH] Add phpdoc for $attr argument of wp_get_attachment_image(). props GaryJ. fixes #23791. git-svn-id: https://develop.svn.wordpress.org/trunk@23714 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/media.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wp-includes/media.php b/wp-includes/media.php index 9ef641cd3f..319980fab7 100644 --- a/wp-includes/media.php +++ b/wp-includes/media.php @@ -539,6 +539,7 @@ function wp_get_attachment_image_src($attachment_id, $size='thumbnail', $icon = * @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. * @return string HTML img element or empty string on failure. */ function wp_get_attachment_image($attachment_id, $size = 'thumbnail', $icon = false, $attr = '') {