Remove the button too. props ryan, see #14647.
git-svn-id: https://develop.svn.wordpress.org/trunk@17291 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
599875b5b9
commit
af64a47f5d
@ -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 = 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 = implode($mce_buttons, ',');
|
||||||
|
|
||||||
$mce_buttons_2 = array('formatselect', 'underline', 'justifyfull', 'forecolor', '|', 'pastetext', 'pasteword', 'removeformat', '|' );
|
$mce_buttons_2 = array( 'formatselect', 'underline', 'justifyfull', 'forecolor', '|', 'pastetext', 'pasteword', 'removeformat', '|', 'charmap', '|', 'outdent', 'indent', '|', 'undo', 'redo', 'wp_help' );
|
||||||
if ( ! is_multisite() )
|
|
||||||
$mce_buttons_2[] = 'media';
|
|
||||||
array_push( $mce_buttons_2, 'charmap', '|', 'outdent', 'indent', '|', 'undo', 'redo', 'wp_help' );
|
|
||||||
$mce_buttons_2 = apply_filters('mce_buttons_2', $mce_buttons_2);
|
$mce_buttons_2 = apply_filters('mce_buttons_2', $mce_buttons_2);
|
||||||
$mce_buttons_2 = implode($mce_buttons_2, ',');
|
$mce_buttons_2 = implode($mce_buttons_2, ',');
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user