[wp-trac] [WordPress Trac] #28160: Get authors user query in-efficient when dealing with large numbers of users.

WordPress Trac noreply at wordpress.org
Wed Jul 12 15:23:17 UTC 2017


#28160: Get authors user query in-efficient when dealing with large numbers of
users.
-------------------------+------------------------------
 Reporter:  l3rady       |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Users        |     Version:  3.9
 Severity:  major        |  Resolution:
 Keywords:               |     Focuses:
-------------------------+------------------------------

Comment (by toddlevy):

 Replying to [comment:10 brandonliles]:
 > Thanks for the suggestion @toddlevy ! Do you want to open a pull request
 on the github project? I'd be happy to review it and update the plugin.

 [https://github.com/bliles/wp-admin10x/pull/1 Pull request created].

 Found another smallish issue... since the Admin10X class doesn't get
 instantiated until `pre_user_query` or `set_user_role` gets called, the
 table never gets created and populated.

 Don't have a "real" solve but I was able to work around it by sticking
 this at the top of the plugin when I activated... `$a10x = new
 Admin10X();` ... and then commenting it out.

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


More information about the wp-trac mailing list