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
This commit is contained in:
Sergey Biryukov 2014-10-05 17:51:42 +00:00
parent a21e5041dd
commit 4ba75673d8
1 changed files with 4 additions and 4 deletions

View File

@ -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 = '') {