Linux 软件免费装
Banner图

HSArticle Math CAPTCHA for Forms

开发者 hsarticle
更新时间 2026年7月11日 23:07
PHP版本: 7.4 及以上
WordPress版本: 7.0
版权: GPLv2 or later
版权网址: 版权信息

标签

captcha spam contact form 7 wpforms bot protection

下载

1.0.0 1.0.1

详情介绍:

HSArticle Math CAPTCHA for Forms adds a math CAPTCHA to any WordPress form. No API keys. No third-party services. No configuration needed to get started. Features: Supported form plugins:

安装:

  1. Upload the plugin folder to /wp-content/plugins/
  2. Activate via the Plugins menu
  3. Go to Math CAPTCHA in the left admin menu
  4. Choose display mode and configure WPForms auto inject if needed
Contact Form 7: In the form editor add [hs_mcf_captcha] before [submit] WPForms Free: Go to Math CAPTCHA settings and tick the forms you want to protect WPForms Pro: Add an HTML field and paste [hs_mcf_captcha], or use auto inject Any HTML form: <?php echo do_shortcode('[hs_mcf_captcha]'); ?>

常见问题:

Does this need an API key?

No. Fully self-hosted, no external services.

Does it work with WPForms free?

Yes. Use the auto inject option in plugin settings — no HTML field required.

Is it GDPR friendly?

Yes. No data is sent to third parties. The answer is stored in a server-side PHP session only and cleared immediately after validation.

Does it affect page caching?

The plugin only starts a PHP session on pages that actually render a form. Pages without a form are not affected. For pages with forms, you should exclude them from full-page caching in your caching plugin (WP Rocket, W3 Total Cache, LiteSpeed Cache, etc.) to ensure the CAPTCHA field ID matches the session. This is standard practice for any form page.

What if PHP sessions are disabled on my host?

Most shared hosts have PHP sessions enabled. If CAPTCHA validation always fails, ask your host to confirm sessions are available. Some managed hosts (such as WP Engine) restrict native PHP sessions — contact their support to enable session handling.

Can bots bypass this?

Sophisticated bots that render JavaScript and solve math can bypass any math CAPTCHA. This plugin stops the vast majority of spam bots which are simple automated form fillers. Additional layers (honeypot field and IP rate limiting) are built in. For high-security forms consider combining with Cloudflare Turnstile or hCaptcha.

更新日志:

1.0.0