Media: Correct closing </label> tags in #tmpl-audio-details and #tmpl-video-details after [42444].

Props TravisSeitler.
Fixes #47355.
Built from https://develop.svn.wordpress.org/trunk@45381


git-svn-id: http://core.svn.wordpress.org/trunk@45192 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2019-05-23 00:49:53 +00:00
parent 0cc6547e43
commit b29ef22665
2 changed files with 3 additions and 3 deletions

View File

@ -1135,7 +1135,7 @@ function wp_print_media_templates() {
}
#>
<div class="setting">
<label for="<?php echo $type . '-source'; ?>"><?php echo strtoupper( $type ); ?></span>
<label for="<?php echo $type . '-source'; ?>"><?php echo strtoupper( $type ); ?></label>
<input type="text" id="<?php echo $type . '-source'; ?>" readonly data-setting="<?php echo $type; ?>" value="{{ data.model.<?php echo $type; ?> }}" />
<button type="button" class="button-link remove-setting"><?php _e( 'Remove audio source' ); ?></button>
</div>
@ -1270,7 +1270,7 @@ function wp_print_media_templates() {
var tracks = jQuery( data.model.content ).filter( 'track' );
_.each( tracks.toArray(), function (track) {
content += track.outerHTML; #>
<label for="video-track"><?php _e( 'Tracks (subtitles, captions, descriptions, chapters, or metadata)' ); ?></span>
<label for="video-track"><?php _e( 'Tracks (subtitles, captions, descriptions, chapters, or metadata)' ); ?></label>
<input class="content-track" type="text" id="video-track" readonly value="{{ track.outerHTML }}" />
<button type="button" class="button-link remove-setting remove-track"><?php _ex( 'Remove video track', 'media' ); ?></button>
<# } ); #>

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.3-alpha-45380';
$wp_version = '5.3-alpha-45381';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.