diff --git a/src/wp-includes/media-template.php b/src/wp-includes/media-template.php index 1fa77282bc..4f2f302e0e 100644 --- a/src/wp-includes/media-template.php +++ b/src/wp-includes/media-template.php @@ -75,7 +75,7 @@ function wp_underscore_video_template() { h = Math.ceil( ( data.model.height * w ) / data.model.width ); } else { h = data.model.height; - } + } if ( w ) { w_rule = 'width: ' + w + 'px; '; @@ -120,7 +120,7 @@ function wp_underscore_video_template() { - if ( ! _.isUndefined( data.model. ) && data.model. ) { + if ( ! _.isUndefined( data.model. ) && data.model. ) { #> <# } #> @@ -434,19 +434,19 @@ function wp_print_media_templates() { {{ data.description }} - + {{ data.authorName }} - + <# if ( data.uploadedToTitle ) { #> - + <# if ( data.uploadedToLink ) { #> {{ data.uploadedToTitle }} <# } else { #> {{ data.uploadedToTitle }} <# } #> - + <# } #> @@ -1084,11 +1084,11 @@ function wp_print_media_templates() { delete html5types[ ext ]; } #> - - SRC - + + + - + <# } #> ; } #> - - - + + + - + <# } #> @@ -1168,11 +1168,11 @@ function wp_print_media_templates() { delete html5types[ ext ]; } #> - - SRC - + + + - + <# } #> ; } #> - - - + + + - + <# } #> @@ -1203,11 +1203,11 @@ function wp_print_media_templates() { <# } #> <# if ( ! _.isEmpty( data.model.poster ) ) { #> - - - + + + - + <# } #> @@ -1228,24 +1228,23 @@ function wp_print_media_templates() { - - + <# var content = ''; if ( ! _.isEmpty( data.model.content ) ) { var tracks = jQuery( data.model.content ).filter( 'track' ); _.each( tracks.toArray(), function (track) { content += track.outerHTML; #> - - - - + + + <# } ); #> <# } else { #> + <# } #> {{ content }} - +
- - -