[wp-trac] [WordPress Trac] #38741: Introduce the concept of a large site in order to speed up the Users screen when there are many users

WordPress Trac noreply at wordpress.org
Fri Jun 8 10:54:49 UTC 2018


#38741: Introduce the concept of a large site in order to speed up the Users screen
when there are many users
-------------------------------------+-------------------------------------
 Reporter:  johnbillion              |       Owner:  johnbillion
     Type:  enhancement              |      Status:  accepted
 Priority:  normal                   |   Milestone:  5.0
Component:  Users                    |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  early has-patch dev-     |     Focuses:  administration,
  feedback needs-testing             |  multisite, performance
-------------------------------------+-------------------------------------
Changes (by spacedmonkey):

 * keywords:  early needs-patch => early has-patch dev-feedback needs-
               testing


Comment:

 [https://core.trac.wordpress.org/attachment/ticket/38741/38741.8.diff
 38741.8.diff] is a completely new patch based on the feedback from
 @flixos90 and @jeremyfelt in multisite chat.

 What this does, it makes `get_user_count` (and related functions)
 available in single site. This also means that there is a scheduled event
 that runs on single site twice a day now to get this count and store in
 options. This is a better implementation than doing a count on every site
 on a multisite, as for large networks, running this on every site is
 expensive.

 If the site is seen as large, it now doesn't include counts and all the
 registered roles are displayed. This is a functional change and may
 require some discussion.

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


More information about the wp-trac mailing list