diff --git a/wp-includes/class-wp-editor.php b/wp-includes/class-wp-editor.php index 73de84de2b..da39c96de1 100644 --- a/wp-includes/class-wp-editor.php +++ b/wp-includes/class-wp-editor.php @@ -826,6 +826,10 @@ final class _WP_Editors { $settings['indent'] = true; $settings['elementpath'] = false; + if ( is_rtl() ) { + $settings['directionality'] = 'rtl'; + } + // In production all plugins are loaded (they are in wp-editor.js.gz) // but only these will be initialized by default. $settings['plugins'] = implode( ',', array( diff --git a/wp-includes/version.php b/wp-includes/version.php index cc0cf154e4..10c0458bef 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.9-alpha-40926'; +$wp_version = '4.9-alpha-40927'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.