Make WordPress Core


Ignore:
Timestamp:
06/22/2014 02:15:55 PM (10 years ago)
Author:
SergeyBiryukov
Message:

Fix MediaElement i18n.

props Namibia, eherman24.
fixes #28366 for trunk.

File:
1 edited

Legend:

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

    r28789 r28801  
    304304    $scripts->add( 'mediaelement', "/wp-includes/js/mediaelement/mediaelement-and-player.min.js", array('jquery'), '2.14.2', 1 );
    305305    did_action( 'init' ) && $scripts->localize( 'mediaelement', 'mejsL10n', array(
    306         'language' => get_bloginfo( 'language' ),
     306        'language' => substr( get_bloginfo( 'language' ), 0, 2 ),
    307307        'strings'  => array(
    308308            'Close'               => __( 'Close' ),
Note: See TracChangeset for help on using the changeset viewer.