Changeset 41889
- Timestamp:
- 10/18/2017 12:07:30 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/script-loader.php
r41879 r41889 356 356 $scripts->add( 'mediaelement-core', "/wp-includes/js/mediaelement/mediaelement-and-player$suffix.js", array(), '4.2.6-78496d1', 1 ); 357 357 $scripts->add( 'mediaelement-migrate', "/wp-includes/js/mediaelement/mediaelement-migrate$suffix.js", array(), false, 1); 358 did_action( 'init' ) && $scripts->localize( 'mediaelement', 'mejsL10n', array( 359 'language' => get_bloginfo( 'language' ), 358 359 did_action( 'init' ) && $scripts->add_inline_script( 'mediaelement-core', sprintf( 'var mejsL10n = %s;', wp_json_encode( array( 360 'language' => strtolower( str_replace( '_', '-', is_admin() ? get_user_locale() : get_locale() ) ), 360 361 'strings' => array( 361 362 '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/' ), … … 444 445 'mejs.yiddish' => __( 'Yiddish' ), 445 446 ), 446 ) ) ;447 ) ) ), 'before' ); 447 448 448 449
Note: See TracChangeset
for help on using the changeset viewer.