Make WordPress Core

Changeset 41879


Ignore:
Timestamp:
10/16/2017 06:14:33 PM (4 years ago)
Author:
johnbillion
Message:

Media: Allow the unminified mediaelement script to be enqueued when SCRIPT_DEBUG is true.

Props dsawardekar
Fixes #42229

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/script-loader.php

    r41878 r41879  
    354354
    355355    $scripts->add( 'mediaelement', false, array( 'jquery', 'mediaelement-core', 'mediaelement-migrate' ), '4.2.6-78496d1' );
    356     $scripts->add( 'mediaelement-core', "/wp-includes/js/mediaelement/mediaelement-and-player.min.js", array(), '4.2.6-78496d1', 1 );
     356    $scripts->add( 'mediaelement-core', "/wp-includes/js/mediaelement/mediaelement-and-player$suffix.js", array(), '4.2.6-78496d1', 1 );
    357357    $scripts->add( 'mediaelement-migrate', "/wp-includes/js/mediaelement/mediaelement-migrate$suffix.js", array(), false, 1);
    358358    did_action( 'init' ) && $scripts->localize( 'mediaelement', 'mejsL10n', array(
Note: See TracChangeset for help on using the changeset viewer.