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
This commit is contained in:
parent
cf9b82dd14
commit
b04ea26df1
@ -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 );
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user