Changeset 38705 for trunk/src/wp-includes/class-wp-editor.php
- Timestamp:
- 10/03/2016 07:03:41 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-editor.php
r38459 r38705 352 352 self::$baseurl = includes_url( 'js/tinymce' ); 353 353 354 $mce_locale = get_ locale();354 $mce_locale = get_user_locale(); 355 355 self::$mce_locale = $mce_locale = empty( $mce_locale ) ? 'en' : strtolower( substr( $mce_locale, 0, 2 ) ); // ISO 639-1 356 356 … … 673 673 } 674 674 675 $body_class .= ' locale-' . sanitize_html_class( strtolower( str_replace( '_', '-', get_ locale() ) ) );675 $body_class .= ' locale-' . sanitize_html_class( strtolower( str_replace( '_', '-', get_user_locale() ) ) ); 676 676 677 677 if ( !empty($set['tinymce']['body_class']) ) {
Note: See TracChangeset
for help on using the changeset viewer.