I run a fairly large blog with 2.7 million votes in the wp_wc_users_voted table. On the admin page, getNotHashedIPCount is getting run a decent amount and it's slow. We have caching, but it seems that the cache on that query might be short lived.
We already hashed all the IP's, so I'm not sure why this is getting called on every single admin page. There should probably be something in wp_options that indicates whether or not IPs are hashed, and check that instead of checking the entire wp_wc_users_voted table every time.
Hi @dkappelman,
This issue will be fixed with netion version of wpDiscuz.
At the moment you can do a small manual change in core file to fix it. Please open this file:
/wp-content/plugins/wpdiscuz/class.WpdiscuzCore.php
Find this line:
add_action('admin_notices', array(&$this->helper, 'hashVotesNote'));
Add double slashes on front, like this:
//add_action('admin_notices', array(&$this->helper, 'hashVotesNote'));
Thanks tom! I will go ahead and do until the next release.