Changeset 43776 for branches/5.0/src/wp-includes/script-loader.php
- Timestamp:
- 10/21/2018 03:02:49 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.0/src/wp-includes/script-loader.php
r43760 r43776 906 906 907 907 did_action( 'init' ) && $scripts->add_inline_script( 'mediaelement-core', sprintf( 'var mejsL10n = %s;', wp_json_encode( array( 908 'language' => strtolower( strtok( is_admin() ? get_user_locale() : get_locale(), '_-' ) ),908 'language' => strtolower( strtok( determine_locale(), '_-' ) ), 909 909 'strings' => array( 910 910 '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.