WordPress.org

Make WordPress Core

Ticket #46103: 46103.diff

File 46103.diff, 592 bytes (added by vishitshah, 10 months ago)
  • wp-includes/media-template.php

    diff --git a/wp-includes/media-template.php b/wp-includes/media-template.php
    index fb44261..2fcec39 100644
    a b function wp_underscore_audio_template() { 
    2828        if ( ! _.isUndefined( data.model.<?php echo $attr; ?> ) && data.model.<?php echo $attr; ?> ) {
    2929                #> <?php echo $attr; ?><#
    3030        }
    31         <?php endforeach ?>#>
     31        <?php endforeach; ?>#>
    3232>
    3333        <# if ( ! _.isEmpty( data.model.src ) ) { #>
    3434        <source src="{{ data.model.src }}" type="{{ wp.media.view.settings.embedMimes[ data.model.src.split('.').pop() ] }}" />