[wp-trac] [WordPress Trac] #19222: Undefined index and incorrect behaviour in WP_User::set_role().

WordPress Trac wp-trac at lists.automattic.com
Sun Sep 16 16:24:35 UTC 2012


#19222: Undefined index and incorrect behaviour in WP_User::set_role().
-----------------------------+---------------------
 Reporter:  elyobo           |       Owner:  nacin
     Type:  enhancement      |      Status:  closed
 Priority:  normal           |   Milestone:  3.5
Component:  Role/Capability  |     Version:  3.3
 Severity:  minor            |  Resolution:  fixed
 Keywords:  has-patch        |
-----------------------------+---------------------
Changes (by nacin):

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


Comment:

 In [21866]:
 {{{
 #!CommitTicketReference repository="" revision="21866"
 Don't use hard-coded indexes when dealing with an array of roles. props
 elyobo. fixes #19222.
 }}}

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


More information about the wp-trac mailing list