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. Built from https://develop.svn.wordpress.org/trunk@33018 git-svn-id: http://core.svn.wordpress.org/trunk@32989 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -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 );
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user