Changeset 46373
- Timestamp:
- 10/01/2019 10:04:43 PM (5 years ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/css/media-views.css
r46363 r46373 2127 2127 } 2128 2128 2129 .media-embed .content-track + .description { 2130 line-height: 1.4; 2131 /* The !important needs to override a high specificity selector from wp-medialement.css */ 2132 max-width: none !important; 2133 } 2134 2135 .media-embed .remove-track { 2136 margin-bottom: 10px; 2137 } 2138 2129 2139 .image-details .embed-media-settings .setting, 2130 2140 .image-details .embed-media-settings .setting-group { -
trunk/src/wp-includes/media-template.php
r46363 r46373 1356 1356 if ( ! _.isEmpty( data.model.content ) ) { 1357 1357 var tracks = jQuery( data.model.content ).filter( 'track' ); 1358 _.each( tracks.toArray(), function (track) {1358 _.each( tracks.toArray(), function( track, index ) { 1359 1359 content += track.outerHTML; #> 1360 <label for="video-details-track" class="name"><?php _e( 'Tracks (subtitles, captions, descriptions, chapters, or metadata)' ); ?></label> 1361 <input class="content-track" type="text" id="video-details-track" readonly value="{{ track.outerHTML }}" /> 1362 <button type="button" class="button-link remove-setting remove-track"><?php _ex( 'Remove video track', 'media' ); ?></button> 1360 <label for="video-details-track-{{ index }}" class="name"><?php _e( 'Tracks (subtitles, captions, descriptions, chapters, or metadata)' ); ?></label> 1361 <input class="content-track" type="text" id="video-details-track-{{ index }}" aria-describedby="video-details-track-desc-{{ index }}" value="{{ track.outerHTML }}" /> 1362 <span class="description" id="video-details-track-desc-{{ index }}"> 1363 <?php 1364 printf( 1365 /* translators: 1: "srclang" HTML attribute, 2: "label" HTML attribute, 3: "kind" HTML attribute. */ 1366 __( 'The %1$s, %2$s, and %3$s values can be edited to set the video track language and kind.' ), 1367 'srclang', 1368 'label', 1369 'kind' 1370 ); 1371 ?> 1372 </span> 1373 <button type="button" class="button-link remove-setting remove-track"><?php _ex( 'Remove video track', 'media' ); ?></button><br/> 1363 1374 <# } ); #> 1364 1375 <# } else { #>
Note: See TracChangeset
for help on using the changeset viewer.