From f81cd31166d924ca2fdedc0fa163ae6d99eff452 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 10 Jul 2021 10:39:44 +0000 Subject: [PATCH] Coding Standards: Add missing semicolon to `endforeach` keywords in media templates. Follow-up to [27411], [27440]. Props vishitshah, mukesh27, nielslange, sabernhardt. Fixes #46103. git-svn-id: https://develop.svn.wordpress.org/trunk@51395 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/media-template.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/wp-includes/media-template.php b/src/wp-includes/media-template.php index bf4b966a799b..1e3f9d614ca7 100644 --- a/src/wp-includes/media-template.php +++ b/src/wp-includes/media-template.php @@ -28,7 +28,7 @@ class="wp-audio-shortcode" if ( ! _.isUndefined( data.model. ) && data.model. ) { #> <# } - #> + #> > <# if ( ! _.isEmpty( data.model.src ) ) { #> @@ -123,7 +123,7 @@ class="wp-video-shortcode {{ classes.join( ' ' ) }}" if ( ! _.isUndefined( data.model. ) && data.model. ) { #> <# } - #> + #> > <# if ( ! _.isEmpty( data.model.src ) ) { if ( isYouTube ) { #> @@ -1277,7 +1277,7 @@ function wp_print_media_templates() { <# } #> - + <# if ( ! _.isEmpty( html5types ) ) { #>
@@ -1367,7 +1367,7 @@ function wp_print_media_templates() { <# } #> - + <# if ( ! _.isEmpty( html5types ) ) { #>