Support » Plugin: WordPress Popular Posts » WP-Popular Posts dosn’t work with WP-SpamShield Plugin

  • 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

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘WP-Popular Posts dosn’t work with WP-SpamShield Plugin’ is closed to new replies.