Make WordPress Core

Changeset 45381


Ignore:
Timestamp:
05/23/2019 12:48:14 AM (6 years ago)
Author:
SergeyBiryukov
Message:

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

Props TravisSeitler.
Fixes #47355.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/media-template.php

    r45334 r45381  
    11361136                #>
    11371137                <div class="setting">
    1138                     <label for="<?php echo $type . '-source'; ?>"><?php echo strtoupper( $type ); ?></span>
     1138                    <label for="<?php echo $type . '-source'; ?>"><?php echo strtoupper( $type ); ?></label>
    11391139                    <input type="text" id="<?php echo $type . '-source'; ?>" readonly data-setting="<?php echo $type; ?>" value="{{ data.model.<?php echo $type; ?> }}" />
    11401140                    <button type="button" class="button-link remove-setting"><?php _e( 'Remove audio source' ); ?></button>
     
    12711271                        _.each( tracks.toArray(), function (track) {
    12721272                            content += track.outerHTML; #>
    1273                         <label for="video-track"><?php _e( 'Tracks (subtitles, captions, descriptions, chapters, or metadata)' ); ?></span>
     1273                        <label for="video-track"><?php _e( 'Tracks (subtitles, captions, descriptions, chapters, or metadata)' ); ?></label>
    12741274                        <input class="content-track" type="text" id="video-track" readonly value="{{ track.outerHTML }}" />
    12751275                        <button type="button" class="button-link remove-setting remove-track"><?php _ex( 'Remove video track', 'media' ); ?></button>
Note: See TracChangeset for help on using the changeset viewer.