Make WordPress Core

Changeset 30637


Ignore:
Timestamp:
11/30/2014 06:11:19 AM (10 years ago)
Author:
wonderboymusic
Message:

IETF language changes in MediaElement:
https://github.com/johndyer/mediaelement/pull/1270/

Reverts [28801].
Fixes #29182.

File:
1 edited

Legend:

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

    r30338 r30637  
    309309    $scripts->add( 'mediaelement', "/wp-includes/js/mediaelement/mediaelement-and-player.min.js", array('jquery'), '2.15.1', 1 );
    310310    did_action( 'init' ) && $scripts->localize( 'mediaelement', 'mejsL10n', array(
    311         'language' => substr( get_bloginfo( 'language' ), 0, 2 ),
     311        'language' => get_bloginfo( 'language' ),
    312312        'strings'  => array(
    313313            'Close'               => __( 'Close' ),
Note: See TracChangeset for help on using the changeset viewer.