Changeset 28112 for trunk/src/wp-includes/class-wp-editor.php
- Timestamp:
- 04/14/2014 03:22:38 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-editor.php
r28099 r28112 755 755 'New document' => __( 'New document' ), 756 756 'Formats' => _x( 'Formats', 'TinyMCE' ), 757 'Headers' => _x( 'Headings', 'TinyMCE' ),758 'Header 1' => __( 'Heading 1' ),759 'Header 2' => __( 'Heading 2' ),760 'Header 3' => __( 'Heading 3' ),761 'Header 4' => __( 'Heading 4' ),762 'Header 5' => __( 'Heading 5' ),763 'Header 6' => __( 'Heading 6' ),764 757 765 758 'Headings' => _x( 'Headings', 'TinyMCE' ), … … 984 977 $mce_locale = self::$mce_locale; 985 978 986 // Set direction987 if ( is_rtl() ) {988 $mce_translation['_dir'] = 'rtl';989 }990 991 979 /** 992 980 * Filter translated strings prepared for TinyMCE. … … 1003 991 $mce_translation[$key] = html_entity_decode( $value, ENT_QUOTES, 'UTF-8' ); 1004 992 } 993 } 994 995 // Set direction 996 if ( is_rtl() ) { 997 $mce_translation['_dir'] = 'rtl'; 1005 998 } 1006 999 … … 1098 1091 } 1099 1092 1100 if ( 'en' != self::$mce_locale ) 1101 echo "<script type='text/javascript'>\n" . self::wp_mce_translation() . "</script>\n"; 1093 echo "<script type='text/javascript'>\n" . self::wp_mce_translation() . "</script>\n"; 1102 1094 1103 1095 if ( self::$ext_plugins ) {
Note: See TracChangeset
for help on using the changeset viewer.