diff --git a/wp-includes/media-template.php b/wp-includes/media-template.php index ef27297d7c..afb690e89f 100644 --- a/wp-includes/media-template.php +++ b/wp-includes/media-template.php @@ -276,6 +276,8 @@ function wp_print_media_templates() {
<# if ( data.uploading ) { #>
+ <# } else if ( 'image' === data.type && data.sizes && data.sizes.large ) { #> + <# } else if ( 'image' === data.type && data.sizes && data.sizes.full ) { #> <# } else if ( -1 === jQuery.inArray( data.type, [ 'audio', 'video' ] ) ) { #>