[wp-trac] [WordPress Trac] #10285: remove_role not working / code needs change

WordPress Trac wp-trac at lists.automattic.com
Sat Jun 27 01:05:15 GMT 2009


#10285: remove_role not working / code needs change
--------------------------+-------------------------------------------------
 Reporter:  5ubliminal    |       Owner:            
     Type:  defect (bug)  |      Status:  new       
 Priority:  normal        |   Milestone:  Unassigned
Component:  General       |     Version:  2.8       
 Severity:  blocker       |    Keywords:  roles     
--------------------------+-------------------------------------------------
 Wordpress 2.8, wp-includes/capabilities.php, line 568, method remove_role
 should be:

 $this->caps[$role]
 '''instead of''':
 $this->roles[$role]

 THANKS!

 PS: Reported 6 months ago here http://wordpress.org/support/topic/210602
 ... yet ignored.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/10285>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list