[wp-trac] [WordPress Trac] #52238: Missing option to change multiple users to "No role for this site"

WordPress Trac noreply at wordpress.org
Sun Jan 31 16:37:46 UTC 2021


#52238: Missing option to change multiple users to "No role for this site"
-------------------------------------------------+-------------------------
 Reporter:  bonniebeeman                         |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  reopened
 Priority:  normal                               |   Milestone:  5.7
Component:  Users                                |     Version:  3.0
 Severity:  normal                               |  Resolution:
 Keywords:  good-first-bug has-patch needs-      |     Focuses:
  testing                                        |  administration
-------------------------------------------------+-------------------------
Changes (by johnbillion):

 * milestone:  Future Release => 5.7


Comment:

 [attachment:"52238.diff"] adjusts the patch slightly so the user's role
 gets correctly set to an empty string instead of `none`.

 Steps to test:

 1. Visit the Users screen in the admin area
 2. Check the checkbox next to a user
 3. Select "No role for this site" in the "Change role to" dropdown
 4. Click the "Change" button
 5. Confirm the user's role is marked as "None"
 6. Confirm the user shows up when you click the "No role" filter at the
 top of the Users screen

 This isn't something we can add an automated test for (without E2E tests)
 as it's tightly coupled to the request.

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


More information about the wp-trac mailing list