Make WordPress Core

Ticket #27159: 27159.patch

File 27159.patch, 1.6 KB (added by azaozz, 11 years ago)
  • src/wp-includes/class-wp-editor.php

     
    391391                                $mce_buttons = apply_filters( 'teeny_mce_buttons', array('bold', 'italic', 'underline', 'blockquote', 'strikethrough', 'bullist', 'numlist', 'alignleft', 'aligncenter', 'alignright', 'undo', 'redo', 'link', 'unlink', 'fullscreen'), $editor_id );
    392392                                $mce_buttons_2 = $mce_buttons_3 = $mce_buttons_4 = array();
    393393                        } else {
    394                                 $mce_buttons = apply_filters('mce_buttons', array('bold', 'italic', 'strikethrough', 'bullist', 'numlist', 'blockquote', 'hr', 'alignleft', 'aligncenter', 'alignright', 'link', 'unlink', 'wp_more', 'spellchecker', 'fullscreen', 'wp_adv' ), $editor_id);
    395                                 $mce_buttons_2 = apply_filters('mce_buttons_2', array( 'formatselect', 'underline', 'alignjustify', 'forecolor', 'pastetext', 'removeformat', 'charmap', 'outdent', 'indent', 'undo', 'redo', 'wp_help' ), $editor_id);
     394                                $mce_buttons = apply_filters('mce_buttons', array('bold', 'italic', 'bullist', 'numlist', 'blockquote', 'hr', 'alignleft', 'aligncenter', 'alignright', 'link', 'unlink', 'wp_more', 'spellchecker', 'fullscreen', 'wp_adv' ), $editor_id);
     395                                $mce_buttons_2 = apply_filters('mce_buttons_2', array( 'formatselect', 'strikethrough', 'alignjustify', 'forecolor', 'pastetext', 'removeformat', 'charmap', 'outdent', 'indent', 'undo', 'redo', 'wp_help' ), $editor_id);
    396396                                $mce_buttons_3 = apply_filters('mce_buttons_3', array(), $editor_id);
    397397                                $mce_buttons_4 = apply_filters('mce_buttons_4', array(), $editor_id);
    398398                        }