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

WordPress Trac noreply at wordpress.org
Tue May 6 13:09:24 UTC 2025


#58103: Show user roles when deleting users
-------------------------------------------------+-------------------------
 Reporter:  Presskopp                            |       Owner:  audrasjb
     Type:  enhancement                          |      Status:  reviewing
 Priority:  normal                               |   Milestone:  Future
                                                 |  Release
Component:  Users                                |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch changes-requested dev-     |     Focuses:
  feedback has-screenshots needs-testing         |
-------------------------------------------------+-------------------------
Changes (by nikunj8866):

 * Attachment "User_Delete_Confirmation_Role_Wise.png" added.

 To improve the UX of the "Attribute all content to" dropdown on the delete
 user screen, I think creating a separate function like
 wp_dropdown_users_with_roles() that renders the user list grouped by roles
 using <optgroup>.

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


More information about the wp-trac mailing list