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

WordPress Trac wp-trac at lists.automattic.com
Thu Nov 10 01:31:22 UTC 2011


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

Comment (by elyobo):

 If you're scheduling it for a future release rather than fixing it now,
 please note that there are three areas that assume the index as well that
 might be worth fixing at the same time.

  * wp-includes/capabilities.php line 724 (fixed in the attached patch)
  * wp-admin/admin-ajax.php lines 912 and 915

 Cheers

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


More information about the wp-trac mailing list