[wp-trac] [WordPress Trac] #18461: adding a capability to a non-existing role gives warnings

WordPress Trac noreply at wordpress.org
Wed Oct 31 23:18:35 UTC 2012


#18461: adding a capability to a non-existing role gives warnings
-----------------------------+---------------------
 Reporter:  opajaap          |       Owner:  dd32
     Type:  defect (bug)     |      Status:  closed
 Priority:  normal           |   Milestone:  3.5
Component:  Role/Capability  |     Version:  3.2.1
 Severity:  normal           |  Resolution:  fixed
 Keywords:  has-patch        |
-----------------------------+---------------------
Changes (by dd32):

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


Comment:

 In [changeset:"22354"]:
 {{{
 #!CommitTicketReference repository="" revision="22354"
 Fix a PHP Notice when attempting to Add or remove capabilities from
 nonexistant roles. Props SergeyBiryukov. Fixes #18461
 }}}

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


More information about the wp-trac mailing list