From 848cd46e9acbb11161ee9c3ae2cd4bf6a8fbe0d6 Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Fri, 27 Feb 2015 20:21:24 +0000 Subject: [PATCH] PressThis TinyMCE: set 'directionality' and add the LTR button when in RTL. Fixes #31474. Built from https://develop.svn.wordpress.org/trunk@31580 git-svn-id: http://core.svn.wordpress.org/trunk@31561 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/default-filters.php | 1 + wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/wp-includes/default-filters.php b/wp-includes/default-filters.php index c28594fdca..e7027a52ce 100644 --- a/wp-includes/default-filters.php +++ b/wp-includes/default-filters.php @@ -175,6 +175,7 @@ add_filter( 'option_blog_charset', '_canonical_charset' ); add_filter( 'option_home', '_config_wp_home' ); add_filter( 'option_siteurl', '_config_wp_siteurl' ); add_filter( 'tiny_mce_before_init', '_mce_set_direction' ); +add_filter( 'teeny_mce_before_init', '_mce_set_direction' ); add_filter( 'pre_kses', 'wp_pre_kses_less_than' ); add_filter( 'sanitize_title', 'sanitize_title_with_dashes', 10, 3 ); add_action( 'check_comment_flood', 'check_comment_flood_db', 10, 3 ); diff --git a/wp-includes/version.php b/wp-includes/version.php index cba7577d19..d477bb8e9b 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.2-alpha-31579'; +$wp_version = '4.2-alpha-31580'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.