WordPress.org

Ready to get started?Download WordPress

Forums

WP Captcha-Free
Ignore XML-RPC requests like Trackbacks (1 post)

  1. arvincastro
    Member
    Posted 3 years ago #

    This plugin should ignore XML-RPC requests when filtering new comments.
    Just change the following lines in captcha-free.php

    function cf_comment_post($commentdata) {
    // Ignore trackbacks
    if($commentdata['comment_type']!='trackback') {

    to


    function cf_comment_post($commentdata) {
    // Ignore trackbacks and XML-RPC requests
    if($commentdata['comment_type']!='trackback' and (!defined('XMLRPC_REQUEST') or !XMLRPC_REQUEST) {

    I am building something and got blocked by this, hehe.

    http://wordpress.org/extend/plugins/wp-captcha-free/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic