Make WordPress Core

Changeset 14097


Ignore:
Timestamp:
04/15/2010 10:16:22 PM (14 years ago)
Author:
nacin
Message:

Bump tools.php from read cap to edit_posts. Old cap was for Gears. fixes #12903, see #11301.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/menu.php

    r14049 r14097  
    183183}
    184184
    185 $menu[75] = array( __('Tools'), 'read', 'tools.php', '', 'menu-top menu-icon-tools', 'menu-tools', 'div' );
    186     $submenu['tools.php'][5] = array( __('Tools'), 'read', 'tools.php' );
     185$menu[75] = array( __('Tools'), 'edit_posts', 'tools.php', '', 'menu-top menu-icon-tools', 'menu-tools', 'div' );
     186    $submenu['tools.php'][5] = array( __('Tools'), 'edit_posts', 'tools.php' );
    187187    $submenu['tools.php'][10] = array( __('Import'), 'import', 'import.php' );
    188188    $submenu['tools.php'][15] = array( __('Export'), 'import', 'export.php' );
Note: See TracChangeset for help on using the changeset viewer.