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:
Konstantin Obenland 2015-07-01 03:47:24 +00:00
parent 275bff1895
commit 8e57bef0ee
2 changed files with 2 additions and 2 deletions

View File

@ -721,7 +721,7 @@ function wp_get_attachment_image_src( $attachment_id, $size = 'thumbnail', $icon
* array of height and width dimensions. Default 'thumbnail'. * array of height and width dimensions. Default 'thumbnail'.
* @param bool $icon Whether the image should be treated as an icon. Default false. * @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 );
} }
/** /**

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.3-alpha-33017'; $wp_version = '4.3-alpha-33018';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.