Coding Standards: Add missing semicolon to `endforeach` keywords in media templates.
Follow-up to [27411], [27440]. Props vishitshah, mukesh27, nielslange, sabernhardt. Fixes #46103. Built from https://develop.svn.wordpress.org/trunk@51395 git-svn-id: http://core.svn.wordpress.org/trunk@51006 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
7922a90974
commit
e304c93a58
|
@ -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 ) ) { #>
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.9-alpha-51391';
|
||||
$wp_version = '5.9-alpha-51395';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue