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:
@@ -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'),
|
||||
|
||||
Reference in New Issue
Block a user