• Ross

    (@rmdglasgow)


    Hi, I run several sites with large user databases (>200k), and they are struggling to cope with generating the user role counts, as the plugin is still using count_users() (ln. 146 on woo-wallet/includes/admin/class-woo-wallet-balance-details.php).

    WP 6.0 introduced wp_is_large_user_count() and get_user_count() to solve this issue. Can the plugin please be updated to use this function instead?

    You can see how WP now does this here:
    wp-admin/includes/class-wp-users-list-table.php

    Thanks!

    Reference:
    Performance Increases For Sites With Large User Counts (Now Also Available on Single Site)
    https://xwp.co/xwp-core-contributor-dev-notes-for-wordpress-6-0/



Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘User Database Performance’ is closed to new replies.