diff --git a/src/wp-includes/media-template.php b/src/wp-includes/media-template.php
index d730cac7d7..dee40d55c4 100644
|
a
|
b
|
function wp_print_media_templates() { |
| 1135 | 1135 | } |
| 1136 | 1136 | #> |
| 1137 | 1137 | <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> |
| 1139 | 1139 | <input type="text" id="<?php echo $type . '-source'; ?>" readonly data-setting="<?php echo $type; ?>" value="{{ data.model.<?php echo $type; ?> }}" /> |
| 1140 | 1140 | <button type="button" class="button-link remove-setting"><?php _e( 'Remove audio source' ); ?></button> |
| 1141 | 1141 | </div> |
| … |
… |
function wp_print_media_templates() { |
| 1270 | 1270 | var tracks = jQuery( data.model.content ).filter( 'track' ); |
| 1271 | 1271 | _.each( tracks.toArray(), function (track) { |
| 1272 | 1272 | 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> |
| 1274 | 1274 | <input class="content-track" type="text" id="video-track" readonly value="{{ track.outerHTML }}" /> |
| 1275 | 1275 | <button type="button" class="button-link remove-setting remove-track"><?php _ex( 'Remove video track', 'media' ); ?></button> |
| 1276 | 1276 | <# } ); #> |