Spell out duplicate hook locations.

props DrewAPicture.
fixes #25658.

Built from https://develop.svn.wordpress.org/trunk@25868


git-svn-id: http://core.svn.wordpress.org/trunk@25868 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Nacin
2013-10-24 22:59:20 +00:00
parent 93e54b6646
commit 5361a8abca
39 changed files with 89 additions and 62 deletions

View File

@@ -1744,6 +1744,7 @@ function wp_prepare_attachment_for_js( $attachment ) {
if ( $meta && 'image' === $type ) {
$sizes = array();
/** This filter is documented in wp-admin/includes/media.php */
$possible_sizes = apply_filters( 'image_size_names_choose', array(
'thumbnail' => __('Thumbnail'),
'medium' => __('Medium'),