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 ); } /**