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
This commit is contained in:
Sergey Biryukov 2021-07-10 10:39:44 +00:00
parent 2999960f51
commit f81cd31166

View File

@ -28,7 +28,7 @@ function wp_underscore_audio_template() {
if ( ! _.isUndefined( data.model.<?php echo $attr; ?> ) && data.model.<?php echo $attr; ?> ) {
#> <?php echo $attr; ?><#
}
<?php endforeach ?>#>
<?php endforeach; ?>#>
>
<# if ( ! _.isEmpty( data.model.src ) ) { #>
<source src="{{ data.model.src }}" type="{{ wp.media.view.settings.embedMimes[ data.model.src.split('.').pop() ] }}" />
@ -123,7 +123,7 @@ function wp_underscore_video_template() {
if ( ! _.isUndefined( data.model.<?php echo $attr; ?> ) && data.model.<?php echo $attr; ?> ) {
#> <?php echo $attr; ?><#
}
<?php endforeach ?>#>
<?php endforeach; ?>#>
>
<# if ( ! _.isEmpty( data.model.src ) ) {
if ( isYouTube ) { #>
@ -1277,7 +1277,7 @@ function wp_print_media_templates() {
<button type="button" class="button-link remove-setting"><?php _e( 'Remove audio source' ); ?></button>
</span>
<# } #>
<?php endforeach ?>
<?php endforeach; ?>
<# if ( ! _.isEmpty( html5types ) ) { #>
<fieldset class="setting-group">
@ -1367,7 +1367,7 @@ function wp_print_media_templates() {
<button type="button" class="button-link remove-setting"><?php _e( 'Remove video source' ); ?></button>
</span>
<# } #>
<?php endforeach ?>
<?php endforeach; ?>
</div>
<# if ( ! _.isEmpty( html5types ) ) { #>