[wp-trac] [WordPress Trac] #40162: Don't alter the order of roles in the Role dropdown when editing a user
WordPress Trac
noreply at wordpress.org
Fri Mar 24 14:52:27 UTC 2017
#40162: Don't alter the order of roles in the Role dropdown when editing a user
----------------------------------------------+----------------------------
Reporter: johnbillion | Owner: johnbillion
Type: enhancement | Status: closed
Priority: normal | Milestone: 4.8
Component: Users | Version:
Severity: normal | Resolution: fixed
Keywords: has-screenshots has-patch commit | Focuses:
| administration
----------------------------------------------+----------------------------
Changes (by johnbillion):
* status: accepted => closed
* resolution: => fixed
Comment:
In [changeset:"40323"]:
{{{
#!CommitTicketReference repository="" revision="40323"
Users: Don't push the current user's role to the top of the list in
`wp_dropdown_roles()`.
This brings consistency to the order in which roles are displayed in the
`Roles` dropdown when editing users.
Props bor0
Fixes #40162
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40162#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list