[wp-trac] [WordPress Trac] #21786: remove_cap can't unset a negative capability

WordPress Trac wp-trac at lists.automattic.com
Fri Sep 21 13:41:45 UTC 2012


#21786: remove_cap can't unset a negative capability
----------------------------------------+---------------------
 Reporter:  johnjamesjacoby             |       Owner:  ryan
     Type:  defect (bug)                |      Status:  closed
 Priority:  normal                      |   Milestone:  3.5
Component:  Role/Capability             |     Version:
 Severity:  minor                       |  Resolution:  fixed
 Keywords:  has-patch needs-unit-tests  |
----------------------------------------+---------------------
Changes (by ryan):

 * owner:   => ryan
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [21940]:
 {{{
 #!CommitTicketReference repository="" revision="21940"
 Allow remove_cap() to unset a negative capability. Props johnjamesjacoby.
 fixes #21786
 }}}

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


More information about the wp-trac mailing list