wp_dropdown_users slow
-
Hi everyone,
We run a WordPress installation with a large number of registered users (400,000+).
I don’t think WordPress was really designed for this number of users, but we’re a bit stuck.
Our WordPress edit.php is slow due to this query which is called twice
SELECT wp_users.ID,wp_users.user_login,wp_users.display_name
FROM wp_users
INNER JOIN wp_usermeta
ON ( wp_users.ID = wp_usermeta.user_id )
WHERE 1=1
AND ( ( wp_usermeta.meta_key = ‘wp_user_level’
AND wp_usermeta.meta_value != ‘0’ ) )
ORDER BY display_name ASCI think this is for the quick edit function for posts and pages – it shows a dropdown of only 2 authors. Is there a way to disable the quick edit author and stop this slow query every time we load edit.php?
Thanks all
- The topic ‘wp_dropdown_users slow’ is closed to new replies.