[wp-trac] [WordPress Trac] #14813: wp_dropdown_roles should use names from $wp_roles->role_names

WordPress Trac wp-trac at lists.automattic.com
Wed Sep 8 11:49:33 UTC 2010


#14813: wp_dropdown_roles should use names from $wp_roles->role_names
--------------------------+-------------------------------------------------
 Reporter:  joehoyle      |       Owner:                 
     Type:  defect (bug)  |      Status:  new            
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:                 
 Severity:  normal        |    Keywords:                 
--------------------------+-------------------------------------------------
 Currently `wp_dropdown_roles()` uses the name of the roles from
 `$details->name`, shouldn't it instead get the name from
 `$wp_roles->role_names[$role]` array?

 See http://core.trac.wordpress.org/browser/trunk/wp-
 admin/includes/template.php#L721 for where I mean.

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


More information about the wp-trac mailing list