Replies: 1
The post count of the WP-PopularPosts plugin dosn’t work if the WP-SpamShield plugin is activated. It’s because “If the plugin does not identify itself properly as an AJAX request (by adding an X-Requested-With: XMLHttpRequest header)” the SpamShield block the request like a HTTP form post.
To resolve this, I added this line in wordpress-popular-posts.php on line 1378:
xhr.setRequestHeader(‘X-Requested-With’, ‘XMLHttpRequest’);
Now the request header is set correctly and it works.
Hope that help to fix the issue.
Thanx for the great plugin.
Regard Guido