Thread Starter
jaspud
(@jaspud)
I am using email users in conjunction with a website that uses s2member, event espresso and wpmandrill. I tested the mysql queries on several sites (have 11 similar) and the massive drop in queries happened in all of them with deactivation of the email users plugin.
Do you see the query being run on every page load? If so, frontend or dashboard? The only time the query needs to be run is when composing a message or notification or when on the user settings page.
If the queries are running frequently something sounds wrong.
Thread Starter
jaspud
(@jaspud)
Yes, they’re being run always. I have mass message and notification turned to ON for every user which we manually turned on.
I assumed it would only run when sending a message or grabbing users for a message.
Thread Starter
jaspud
(@jaspud)
I think if I’m using the profiler correctly, its dashboard side
I took a quick look at this while making a small update for PHP 5.5 today and didn’t find anything. I saw the user queries (all calls to get_users()) happen when I would expect them to (when sending an email or notification, on the main Dashboard). When I visited other Dashboard pages I do not see the query.