[wp-trac] [WordPress Trac] #40265: Introduce an 'All Network Users' view to multisite user list tables

WordPress Trac noreply at wordpress.org
Sat Mar 25 19:09:11 UTC 2017


#40265: Introduce an 'All Network Users' view to multisite user list tables
-------------------------------------------------+-------------------------
 Reporter:  johnbillion                          |       Owner:
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
Component:  Users                                |  Review
 Severity:  normal                               |     Version:  3.0
 Keywords:  has-patch has-screenshots needs-     |  Resolution:
  testing                                        |     Focuses:  multisite
-------------------------------------------------+-------------------------
Changes (by johnbillion):

 * keywords:  needs-patch needs-screenshots => has-patch has-screenshots
     needs-testing


Comment:

 [attachment:40265.diff] does the following:

 * Adds an `All Network Users` filter to the Users screen when editing a
 site from network admin, and when viewing the Users screen on an
 individual site on Multisite.
 * Allows a network administrator to bulk add users to a site by checking
 their checkboxes and choosing a role from the `Change role to...`
 dropdown.
 * Potentially breaks on single site installations. Needs some testing.

 In addition, there is a bug which causes the main site's role to be
 displayed next to a user when viewing the All Network Users filter from
 the site editing screen. This is probably related to the combination of
 `switch_to_blog()` and `wp_roles()` which doesn't appear to be working as
 expected.

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


More information about the wp-trac mailing list