该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Concise Antispam

描述

Algorithm

  1. Plugin generates token on the backend side.
  2. Plugin adds hidden field for token in each form which will use method “POST” after rendering of the page.
  3. Plugin inserts token in the field after user’s interaction with site.

For developers

Antispam will automatically check submissions of the regular forms but ignores all AJAX requests.
If you want to change this behaviour, you can use filter concise_antispam_need_to_validate_token.
See example:

Disable Antispam for some forms:

add_filter("concise_antispam_need_to_validate_token", function($needToValidateToken) {
    if (!empty($_POST['do-not-check-antispam-token'])) {
        $needToValidateToken = false;
    }

    return $needToValidateToken;
});

You can also always manually call \Concise\Antispam::validateTokenOrDie() in your custom handler.

Formidable Forms integration

For proper work disable the honeypot checking in the forms

安装

  1. Upload plugin to plugins directory
  2. Active plugin through the “Plugins” menu in WordPress

常见问题

Please, report about any bug to developer@concise-studio.com

评价

2021 年 2 月 8 日
Thank you so much for this plugin. I didn’t notice the email attack on my client’s web site until 490,000 messages had been blocked and quite a few had gotten through. The number was increasing by about 3000 per minute, and after enabling this plugin, the incoming messages were just STOPPED, INSTANTLY.
2020 年 9 月 8 日
Works like a charm. It doesn’t slow down the page at all and catches all spam with incredible accuracy—I haven’t had to delete a single spammy message since installing it. Excellent work!
阅读所有2条评价

贡献者及开发者

「Concise Antispam」是开源软件。 以下人员对此插件做出了贡献。

贡献者

帮助将「Concise Antispam」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志