[wp-trac] [WordPress Trac] #58103: Show user roles when deleting users

WordPress Trac noreply at wordpress.org
Fri Apr 14 15:01:29 UTC 2023


#58103: Show user roles when deleting users
-------------------------+------------------------------
 Reporter:  Presskopp    |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Users        |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  needs-patch  |     Focuses:
-------------------------+------------------------------
Changes (by lopo):

 * keywords:   => needs-patch


Comment:

 It would make sense to me, but it looks like we'd need to change the
 underlying `wp_dropdown_users()` function.
 The easiest thing would probably be adding a value for the `show`
 parameter to e.g. display `Display Name (login_name) - role`.
 A smarter and more versatile choice could be adding a bool `group_by_role`
 parameter to display users grouped in one `<outgroup>` for each role.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/58103#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list