I’ve got a plugin which is bringing in comments from an external source.
It builds up the structure as follows:
$data = array( 'comment_post_ID' => $comdata_row->wp_post_id, 'comment_author' => $fbuserinfo['name'], 'comment_author_email' => $commemail, 'comment_author_url' => $fbuserinfo['profile_url'], 'comment_content' => $comment['text'], 'comment_author_IP' => '127.0.0.1', 'comment_date' => $time, 'comment_date_gmt' => $time, 'comment_approved' => $comment_approve, );
and then does:
The problem is that several Anti-spam captchas fire when this happens and of course as there is no interaction and the comment is lost.
So how do I post a comment using the WP functions that won’t make anti-spam plugsin fire?
- The topic ‘Comment posting via the API’ is closed to new replies.