[wp-trac] [WordPress Trac] #20824: current_user_can() bug with Super Admin

WordPress Trac wp-trac at lists.automattic.com
Mon Jun 4 12:09:02 UTC 2012


#20824: current_user_can() bug with Super Admin
--------------------------------+------------------------------
 Reporter:  abdessamad idrissi  |       Owner:
     Type:  defect (bug)        |      Status:  reopened
 Priority:  normal              |   Milestone:  Awaiting Review
Component:  Users               |     Version:  3.3.2
 Severity:  normal              |  Resolution:
 Keywords:                      |
--------------------------------+------------------------------

Comment (by scribu):

 In general, it would be nice to have `WP_User->has_role()`.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20824#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list