diff --git a/wp-includes/media.php b/wp-includes/media.php index 3fe014dff2..2c249120b0 100644 --- a/wp-includes/media.php +++ b/wp-includes/media.php @@ -1587,19 +1587,25 @@ function wp_print_media_templates( $attachment ) { 'thumbnail' => __('Thumbnail'), 'medium' => __('Medium'), 'large' => __('Large'), + 'full' => __('Full Size'), ) ); - foreach ( $sizes as $value => $name ) : ?> + foreach ( $sizes as $value => $name ) : + if ( 'full' === $name ) + continue; + ?> <# if ( sizes[''] ) { #> <# } #>> - + - - + if ( ! empty( $sizes['full'] ) ) : ?> + + <# } #>