summaryrefslogtreecommitdiffstats
path: root/wp-includes/js
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2006-11-28 11:58:18 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2006-11-28 11:58:18 +0000
commitf0157a9e1570b31c6cb0269bab0b7c5ae2cc8644 (patch)
tree81f287aa8f2f23d0a9e587e8d3ae1e1004d0b7a6 /wp-includes/js
parent927321af4de1801f8fcbdcad320bc7500cde8f00 (diff)
downloadwordpress-mu-f0157a9e1570b31c6cb0269bab0b7c5ae2cc8644.tar.gz
wordpress-mu-f0157a9e1570b31c6cb0269bab0b7c5ae2cc8644.tar.xz
wordpress-mu-f0157a9e1570b31c6cb0269bab0b7c5ae2cc8644.zip
Switchedit not there any more (fixes #205)
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@813 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-includes/js')
-rw-r--r--wp-includes/js/tinymce/tiny_mce_config.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/wp-includes/js/tinymce/tiny_mce_config.php b/wp-includes/js/tinymce/tiny_mce_config.php
index 697100f..01f5ccd 100644
--- a/wp-includes/js/tinymce/tiny_mce_config.php
+++ b/wp-includes/js/tinymce/tiny_mce_config.php
@@ -31,7 +31,7 @@
$mce_buttons = apply_filters('mce_buttons', array('bold', 'italic', 'strikethrough', 'separator', 'bullist', 'numlist', 'outdent', 'indent', 'separator', 'justifyleft', 'justifycenter', 'justifyright', 'separator', 'link', 'unlink', 'image', 'wp_more', 'separator', 'spellchecker', 'separator', 'wp_help', 'wp_adv_start', 'wp_adv', 'separator', 'formatselect', 'underline', 'justifyfull', 'forecolor', 'separator', 'pastetext', 'pasteword', 'separator', 'removeformat', 'cleanup', 'separator', 'charmap', 'separator', 'undo', 'redo', 'wp_adv_end'));
$mce_buttons = implode($mce_buttons, ',');
- if ( !user_can_switchedit() )
+ if ( !user_can_richedit() )
$mce_buttons = str_replace('wp_help', 'wp_help,code', $mce_buttons);
$mce_buttons_2 = apply_filters('mce_buttons_2', array());