Linux 软件免费装
Banner图

Tedasuke Form Spam Guard

开发者 tedasuke
更新时间 2026年12月4日 17:46
PHP版本: 8.0 及以上
WordPress版本: 7.2
版权: GPLv2 or later
版权网址: 版权信息

标签

recaptcha spam contact form turnstile mw wp form

下载

0.1.2 0.1.0 0.1.1

详情介绍:

This plugin adds spam protection to every form made with MW WP Form. You do not need to edit your forms. Activate it and your forms are protected. Choose one of three methods: It is built for the way MW WP Form works: The settings screen (Settings > Form Spam Guard) shows how many messages were sent, how many submissions were rejected, and the reason for the last rejection. This plugin is not affiliated with or endorsed by the authors of MW WP Form, Google or Cloudflare.

安装:

  1. Install and activate MW WP Form.
  2. Install and activate this plugin. Your forms are now protected by the built-in check.
  3. Optional: go to Settings > Form Spam Guard to switch to Google reCAPTCHA v3 or Cloudflare Turnstile and enter your keys.
  4. Send a test message from your own form to confirm that it arrives.

屏幕截图:

  • Activity: how many messages were sent, how many submissions were rejected, and the reason for the last rejection.

升级注意事项:

0.1.2 If your Cloudflare Turnstile secret key is wrong, your forms will now reject every submission instead of letting all of them through. After updating, open Settings > Form Spam Guard, click Save Changes and send a test message.

常见问题:

Do I need to change my forms?

No. Every form made with MW WP Form is protected automatically.

Does it work with the confirmation screen?

Yes. The check runs for "Confirm" and for "Send". "Back" is never checked and never sends anything.

A real visitor says they cannot send the form. What should I check?

Open Settings > Form Spam Guard and look at "Reason for the last rejection". A reason starting with browser_ means the visitor's browser could not complete the check, for example because a script was blocked. If the reason is recaptcha_low_score, the visitor's reCAPTCHA score was below your threshold; try lowering the score threshold. A reason ending in invalid-input-secret means that Google or Cloudflare did not accept your secret key. Copy the secret key again and save the settings.

What happens if Google or Cloudflare cannot be reached?

By default the submission is let through, so that no inquiry is lost. You can choose to reject submissions instead. A wrong secret key does not count as "cannot be reached". While the key is wrong, submissions are rejected.

Does the built-in check store personal data?

No. It stores only counters (how many submissions passed and were rejected), the reason code of the last rejection, and a short-lived use count for each ticket. None of these contain form contents, names, e-mail addresses or IP addresses.

Can I leave one form unprotected?

Yes, with a filter: add_filter( 'spfmwf_protect_form', function ( $protect, $form_key ) { return 'mw-wp-form-123' === $form_key ? false : $protect; }, 10, 2 );

更新日志:

0.1.2 0.1.1 0.1.0