[wp-trac] [WordPress Trac] #22361: Users with multiple roles show incorrect primary role in list-table and when editing

WordPress Trac noreply at wordpress.org
Mon Nov 19 19:23:55 UTC 2012


#22361: Users with multiple roles show incorrect primary role in list-table and
when editing
----------------------------------------+------------------
 Reporter:  johnjamesjacoby             |       Owner:
     Type:  defect (bug)                |      Status:  new
 Priority:  normal                      |   Milestone:  3.5
Component:  Role/Capability             |     Version:
 Severity:  critical                    |  Resolution:
 Keywords:  has-patch needs-unit-tests  |
----------------------------------------+------------------

Comment (by nacin):

 In [changeset:"22687"]:
 {{{
 #!CommitTicketReference repository="" revision="22687"
 As wp_dropdown_roles() only prints editable roles, ensure that the
 "selected" role passed into it on the user-edit screen is editable.

 props johnjamesjacoby. see #22361.
 }}}

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


More information about the wp-trac mailing list