summaryrefslogtreecommitdiffstats
path: root/wp-includes/functions.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2006-09-27 14:25:06 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2006-09-27 14:25:06 +0000
commit975439ecc7163247a96d5feec3920a1602943b73 (patch)
tree081c264a6d1aba471ec320cca6f2cffc10297469 /wp-includes/functions.php
parent3504926f8687e7557e64c73bc668b90e5da64a76 (diff)
downloadwordpress-mu-975439ecc7163247a96d5feec3920a1602943b73.tar.gz
wordpress-mu-975439ecc7163247a96d5feec3920a1602943b73.tar.xz
wordpress-mu-975439ecc7163247a96d5feec3920a1602943b73.zip
WP Merge to rev 4258
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@774 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-includes/functions.php')
-rw-r--r--wp-includes/functions.php11
1 files changed, 8 insertions, 3 deletions
diff --git a/wp-includes/functions.php b/wp-includes/functions.php
index 1bd1487..1762e89 100644
--- a/wp-includes/functions.php
+++ b/wp-includes/functions.php
@@ -1193,12 +1193,16 @@ function wp_die($message, $title = '') {
function _mce_set_direction() {
global $wp_locale;
- if ('rtl' == $wp_locale->text_direction)
+
+ if ('rtl' == $wp_locale->text_direction) {
echo 'directionality : "rtl" ,';
+ echo 'theme_advanced_toolbar_align : "right" ,';
+ }
}
function _mce_load_rtl_plugin($input) {
- global $wp_locale;
+ global $wp_locale;
+
if ('rtl' == $wp_locale->text_direction)
$input[] = 'directionality';
@@ -1206,7 +1210,8 @@ function _mce_load_rtl_plugin($input) {
}
function _mce_add_direction_buttons($input) {
- global $wp_locale;
+ global $wp_locale;
+
if ('rtl' == $wp_locale->text_direction) {
$new_buttons = array('separator', 'ltr', 'rtl');
$input = array_merge($input, $new_buttons);