• Resolved Saul

    (@slightlyfaulty)


    This seems like a great plugin. However, I noticed my dashboard got 100x slower after installing this plugin.

    After digging into your code I see that you’re calling get_users() on every single admin page load during admin_enqueue_scripts.

    Not only is this grossly inefficient, since you’re only using this data on your settings page, but on sites like mine with over 20k users, loading every single user and their data takes a very long time. Ideally you should never call get_users(), and rather use an AJAX search box to find and select a user.

    I’m letting you know about this issue here to give you a chance to optimize your code before posting a negative review. I’m sure this was just an honest oversight, but you really need to be more careful when writing code that can run on any WordPress site in the world.

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Loading all users on all admin pages’ is closed to new replies.