mirror of
https://github.com/WordPress/WordPress.git
synced 2025-03-30 08:26:42 +02:00
Remove the button too. props ryan, see #14647.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17291 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
b2d0685b2d
commit
35066d7770
@ -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, ',');
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user