From af64a47f5d886e16cfa395dd1568e0ccadee5126 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Thu, 13 Jan 2011 22:56:10 +0000 Subject: [PATCH] Remove the button too. props ryan, see #14647. git-svn-id: https://develop.svn.wordpress.org/trunk@17291 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/includes/post.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/wp-admin/includes/post.php b/wp-admin/includes/post.php index c767fa2d06..510d59fa6d 100644 --- a/wp-admin/includes/post.php +++ b/wp-admin/includes/post.php @@ -1497,10 +1497,7 @@ function wp_tiny_mce( $teeny = false, $settings = false ) { $mce_buttons = apply_filters('mce_buttons', array('bold', 'italic', 'strikethrough', '|', 'bullist', 'numlist', 'blockquote', '|', 'justifyleft', 'justifycenter', 'justifyright', '|', 'link', 'unlink', 'wp_more', '|', 'spellchecker', 'fullscreen', 'wp_adv' )); $mce_buttons = implode($mce_buttons, ','); - $mce_buttons_2 = array('formatselect', 'underline', 'justifyfull', 'forecolor', '|', 'pastetext', 'pasteword', 'removeformat', '|' ); - if ( ! is_multisite() ) - $mce_buttons_2[] = 'media'; - array_push( $mce_buttons_2, 'charmap', '|', 'outdent', 'indent', '|', 'undo', 'redo', 'wp_help' ); + $mce_buttons_2 = array( 'formatselect', 'underline', 'justifyfull', 'forecolor', '|', 'pastetext', 'pasteword', 'removeformat', '|', 'charmap', '|', 'outdent', 'indent', '|', 'undo', 'redo', 'wp_help' ); $mce_buttons_2 = apply_filters('mce_buttons_2', $mce_buttons_2); $mce_buttons_2 = implode($mce_buttons_2, ',');