[wp-trac] [WordPress Trac] #12098: Should use current_user_can for [12908], users.php Add New button
WordPress Trac
wp-trac at lists.automattic.com
Mon Feb 1 08:06:12 UTC 2010
#12098: Should use current_user_can for [12908], users.php Add New button
-----------------------------+----------------------------------------------
Reporter: nacin | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 3.0
Component: Role/Capability | Version:
Severity: normal | Keywords: multisite
-----------------------------+----------------------------------------------
Comment(by dd32):
You're right. It is there, and it does work as intended.
The problem is that has_cap() returns true for ALL caps for super users,
regardless.. and the file hasnt been updated to rely on the cap.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12098#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list