[wp-trac] [WordPress Trac] #19867: wp_dropdown_users() still not scalable

WordPress Trac noreply at wordpress.org
Wed Sep 30 20:35:56 UTC 2020


#19867: wp_dropdown_users() still not scalable
-------------------------+---------------------------------------------
 Reporter:  prettyboymp  |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Future Release
Component:  Users        |     Version:  3.3.1
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:  ui, accessibility, performance
-------------------------+---------------------------------------------

Comment (by patopaiar):

 Confirming that this is in fact a critical problem breaking down the
 Delete user functionality in this site with ~400,000 users when the
 function attempts to load them all into the selector.

 How to solve this?

 * Paginating results somehow when a large user base is detected?
 * Displaying a search box that fetches specific results? The search might
 result an expensive operation too in a large user base, re-introducing the
 problem trying to be solved.

 I have practically no experience contributing to core, but would be
 interested in helping with a patch if there's interest in solving this
 quite nasty problem in core.

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


More information about the wp-trac mailing list