get_users()
-
WP Dashboard never loaded and it always trigger a timeout. The root cause is Brandnestor plugin triggering a get_users() call on every admin request. When users are limited shouldn’t be a problem but handling a website with many users should be something like this.
This query is used only in one sub settings sections of Brandnestor plugin, to fill a dropdown selector. A proper fix would require making this query ONLY when the specific section is rendered AND also avoid a full users get when running on large networks. The ideal fix would be something like a typeahead input.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘get_users()’ is closed to new replies.