Changeset 42251 for trunk/src/wp-includes/script-loader.php
- Timestamp:
- 11/28/2017 02:51:33 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/script-loader.php
r42163 r42251 358 358 359 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 'language' => strtolower( strtok( is_admin() ? get_user_locale() : get_locale(), '_-' ) ), 361 361 'strings' => array( 362 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/' ),
Note: See TracChangeset
for help on using the changeset viewer.