WordPress.org

Make WordPress Core

Changeset 17291


Ignore:
Timestamp:
01/13/2011 10:56:10 PM (9 years ago)
Author:
nacin
Message:

Remove the button too. props ryan, see #14647.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/post.php

    r17288 r17291  
    14981498        $mce_buttons = implode($mce_buttons, ',');
    14991499
    1500         $mce_buttons_2 = array('formatselect', 'underline', 'justifyfull', 'forecolor', '|', 'pastetext', 'pasteword', 'removeformat', '|' );
    1501         if ( ! is_multisite() )
    1502             $mce_buttons_2[] = 'media';
    1503         array_push( $mce_buttons_2,  'charmap', '|', 'outdent', 'indent', '|', 'undo', 'redo', 'wp_help' );
     1500        $mce_buttons_2 = array( 'formatselect', 'underline', 'justifyfull', 'forecolor', '|', 'pastetext', 'pasteword', 'removeformat', '|', 'charmap', '|', 'outdent', 'indent', '|', 'undo', 'redo', 'wp_help' );
    15041501        $mce_buttons_2 = apply_filters('mce_buttons_2', $mce_buttons_2);
    15051502        $mce_buttons_2 = implode($mce_buttons_2, ',');
Note: See TracChangeset for help on using the changeset viewer.