From 5b2c58d5b39beb55edc8ecd37041f50702f33230 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 18 Sep 2014 12:35:25 +0000 Subject: [PATCH] Correct 'wp_get_attachment_image_attributes' filter docs. props tillkruess. fixes #29701. git-svn-id: https://develop.svn.wordpress.org/trunk@29750 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/media.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-includes/media.php b/src/wp-includes/media.php index 0f9b777477..b9d38fcf0a 100644 --- a/src/wp-includes/media.php +++ b/src/wp-includes/media.php @@ -719,8 +719,8 @@ function wp_get_attachment_image($attachment_id, $size = 'thumbnail', $icon = fa * * @since 2.8.0 * - * @param mixed $attr Attributes for the image markup. - * @param int $attachment_id Image attachment ID. + * @param mixed $attr Attributes for the image markup. + * @param int $attachment Image attachment post. */ $attr = apply_filters( 'wp_get_attachment_image_attributes', $attr, $attachment ); $attr = array_map( 'esc_attr', $attr );