[wp-trac] [WordPress Trac] #16184: Deleting delete_users capability will hide Plugin Section
WordPress Trac
wp-trac at lists.automattic.com
Tue Jan 11 20:49:10 UTC 2011
#16184: Deleting delete_users capability will hide Plugin Section
----------------------------+-----------------------
Reporter: Stefan M. | Owner: nacin
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 3.1
Component: Administration | Version: 3.0.4
Severity: normal | Resolution:
Keywords: |
----------------------------+-----------------------
Changes (by nacin):
* owner: => nacin
* status: new => accepted
* milestone: Awaiting Review => 3.1
Comment:
The issue is we're using is_super_admin() when we should simply rely on
the cap check provided to the menu item.
Patch attached fixes this in two spots.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16184#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list