Make WordPress Core

Ticket #42241: 42241.0.diff

File 42241.0.diff, 986 bytes (added by westonruter, 7 years ago)
  • src/wp-includes/script-loader.php

    diff --git src/wp-includes/script-loader.php src/wp-includes/script-loader.php
    index d56bbaa06c..d214418b7a 100644
    function wp_default_scripts( &$scripts ) { 
    356356        $scripts->add( 'mediaelement-core', "/wp-includes/js/mediaelement/mediaelement-and-player.min.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(
    359                 'language' => get_bloginfo( 'language' ),
     359                'language' => get_locale(),
    360360                'strings'  => array(
    361361                        'mejs.install-flash'       => __( 'You are using a browser that does not have Flash player enabled or installed. Please turn on your Flash player plugin or download the latest version from https://get.adobe.com/flashplayer/' ),
    362362                        'mejs.fullscreen-off'      => __( 'Turn off Fullscreen' ),