[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
Tue Apr 5 23:50:06 UTC 2022


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

 * keywords:  needs-patch => has-patch


Comment:

 Replying to [comment:101 jb510]:
 > I'm only reading the patches (I don't have a trunk setup at the moment)
 but it seems like this would completely bypass wp_dropdown_users. This
 seems very problematic.
 >
 > It's not like people don't need to change the post author on large
 sites, it's just that it doing makes an expensive query and creates a
 _massive_ select element.

 At the moment, the authors are only removed from the quick edit page. The
 option to change them remains on both the block and classic editor
 screens.

 The block editor uses the REST API to populate the dropdown.

 To test, my plugin was `add_filter( 'wp_is_large_user_count',
 '__return_true' );`

 > Sorry if I'm off base here, will try to test patches when I can set up
 trunk again.

 Please don't apologize for asking questions or raising concerns.

 It prompted me to do additional manual testing.

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


More information about the wp-trac mailing list