[wp-trac] [WordPress Trac] #12793: User without 'delete_user' capability has a link to delete an user

WordPress Trac wp-trac at lists.automattic.com
Fri Apr 2 07:00:07 UTC 2010


#12793: User without 'delete_user' capability has a link to delete an user
-----------------------------+----------------------------------------------
 Reporter:  Horttcore        |       Owner:           
     Type:  enhancement      |      Status:  new      
 Priority:  low              |   Milestone:  3.0      
Component:  Role/Capability  |     Version:  2.9.2    
 Severity:  trivial          |    Keywords:  has-patch
-----------------------------+----------------------------------------------

Comment(by nacin):

 Hmm. remove_user is a primitive capability, not a meta cap, so it can't be
 used like this. That said, as far as I can tell, it *should* be a meta cap
 instead of a primitive cap (mapping directly to remove_users), which means
 we'd need to remove it from the schema.

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


More information about the wp-trac mailing list