From b04ea26df15aa7d82e325d3126501f1fc8bf5795 Mon Sep 17 00:00:00 2001 From: Konstantin Obenland Date: Wed, 1 Jul 2015 03:46:23 +0000 Subject: [PATCH] After [32866], change filter name. While filter names generally don't have to be tied to the function in which they are applied, the API for media display generally seems to use the `wp_get_attachment_*` pattern. Props DrewAPicture. Fixes #32363. git-svn-id: https://develop.svn.wordpress.org/trunk@33018 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/media.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/media.php b/src/wp-includes/media.php index 9bf83bbb49..afb8855176 100644 --- a/src/wp-includes/media.php +++ b/src/wp-includes/media.php @@ -721,7 +721,7 @@ function wp_get_attachment_image_src( $attachment_id, $size = 'thumbnail', $icon * array of height and width dimensions. Default 'thumbnail'. * @param bool $icon Whether the image should be treated as an icon. Default false. */ - return apply_filters( 'attachment_image_src', $image, $attachment_id, $size, $icon ); + return apply_filters( 'wp_get_attachment_image_src', $image, $attachment_id, $size, $icon ); } /**