The first step was removing all of the anti-spam plugins, as there was a good chance they were messing with each other and letting the SPAM in. My solution was allowing the generic anti-spam solution: adding an INPUT to the form which should remain empty during the submission process. Empty in value but present via key: the premise is that bots that read form inputs would populate the form field values with rubbish just to make sure submissions weren t rejected based on empty values.
var form = $( comment-form );
new Request({
url: form.action,
method: post ,
onRequest: function() {},
onSuccess: function(content) {},
onComplete: function() {}
}).send(form.toQueryString() + &is_legit=1 );
在提交时添加这一关键内容已证明是安全的。
WINNING
在两周后,我收到0份SPAM评论。 零。 无。 Nil。 Absolute zip。 我从每天8 000多人到零。 优于Akismet,优于任何gin。 用 语 Press SPAM prevention into their ownhand - use soil magic with a small PHP function to make You pfe better!