[Plugin: WP Captcha-Free] Ignore XML-RPC requests like Trackbacks
-
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.
- The topic ‘[Plugin: WP Captcha-Free] Ignore XML-RPC requests like Trackbacks’ is closed to new replies.