Fatal on site with large users amount
-
When your site has a lot of users and you try to go to the roles pages or the edit roles pages the site can fatal because of the large query it tries to do.
In inc/functions-roles.php you’ve got the function members_get_role_user_count(). This function can fatal if the site has a large user count.
We’ve now implement an early return that gives back 0 and it doesn’t fatal anymore. But it would be nice if there could be some defensive coding added to the plugin that already catches this with this native WP function:
wp_is_large_user_count()
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
You must be logged in to reply to this topic.