diff --git a/wp-includes/media-template.php b/wp-includes/media-template.php
index fb44261..8aa093d 100644
|
a
|
b
|
function wp_underscore_audio_template() { |
| 28 | 28 | if ( ! _.isUndefined( data.model.<?php echo $attr; ?> ) && data.model.<?php echo $attr; ?> ) { |
| 29 | 29 | #> <?php echo $attr; ?><# |
| 30 | 30 | } |
| 31 | | <?php endforeach ?>#> |
| | 31 | <?php endforeach; ?>#> |
| 32 | 32 | > |
| 33 | 33 | <# if ( ! _.isEmpty( data.model.src ) ) { #> |
| 34 | 34 | <source src="{{ data.model.src }}" type="{{ wp.media.view.settings.embedMimes[ data.model.src.split('.').pop() ] }}" /> |
| … |
… |
function wp_underscore_video_template() { |
| 123 | 123 | if ( ! _.isUndefined( data.model.<?php echo $attr; ?> ) && data.model.<?php echo $attr; ?> ) { |
| 124 | 124 | #> <?php echo $attr; ?><# |
| 125 | 125 | } |
| 126 | | <?php endforeach ?>#> |
| | 126 | <?php endforeach; ?>#> |
| 127 | 127 | > |
| 128 | 128 | <# if ( ! _.isEmpty( data.model.src ) ) { |
| 129 | 129 | if ( isYouTube ) { #> |
| … |
… |
function wp_print_media_templates() { |
| 1124 | 1124 | <button type="button" class="button-link remove-setting"><?php _e( 'Remove audio source' ); ?></button> |
| 1125 | 1125 | </div> |
| 1126 | 1126 | <# } #> |
| 1127 | | <?php endforeach ?> |
| | 1127 | <?php endforeach; ?> |
| 1128 | 1128 | |
| 1129 | 1129 | <# if ( ! _.isEmpty( html5types ) ) { #> |
| 1130 | 1130 | <div class="setting"> |
| … |
… |
function wp_print_media_templates() { |
| 1207 | 1207 | <button type="button" class="button-link remove-setting"><?php _e( 'Remove video source' ); ?></button> |
| 1208 | 1208 | </div> |
| 1209 | 1209 | <# } #> |
| 1210 | | <?php endforeach ?> |
| | 1210 | <?php endforeach; ?> |
| 1211 | 1211 | </div> |
| 1212 | 1212 | |
| 1213 | 1213 | <# if ( ! _.isEmpty( html5types ) ) { #> |