Ticket #46103: 46103.3.diff
File 46103.3.diff, 1.4 KB (added by , 3 years ago) |
---|
-
src/wp-includes/media-template.php
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() ] }}" /> … … 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 ) { #> … … 1277 1277 <button type="button" class="button-link remove-setting"><?php _e( 'Remove audio source' ); ?></button> 1278 1278 </span> 1279 1279 <# } #> 1280 <?php endforeach ?>1280 <?php endforeach; ?> 1281 1281 1282 1282 <# if ( ! _.isEmpty( html5types ) ) { #> 1283 1283 <fieldset class="setting-group"> … … 1367 1367 <button type="button" class="button-link remove-setting"><?php _e( 'Remove video source' ); ?></button> 1368 1368 </span> 1369 1369 <# } #> 1370 <?php endforeach ?>1370 <?php endforeach; ?> 1371 1371 </div> 1372 1372 1373 1373 <# if ( ! _.isEmpty( html5types ) ) { #>