Linux 软件免费装
Banner图

ShieldCraft – Invisible Spam Protection

开发者 rajanit2000
更新时间 2026年10月24日 19:41

标签

comments spam bot anti-spam comment spammer comment-spam block-spam spam-free spambot spam-bot junk spam-protecter

下载

1.0.0 2.0.0

详情介绍:

ShieldCraft stops spam without asking your visitors to solve puzzles. It adds invisible checks to your forms, refuses or holds what looks like spam, and keeps a log so you can see what was stopped and why. ShieldCraft is the new name and a complete rewrite of WP Spam Protecter. The plugin slug is still wp-spam-protecter. Everything is free, and nothing is ever sent to another service. Invisible checks Rules you control Protects See what was stopped Privacy ShieldCraft never contacts other services. Only stopped and held submissions are logged, for 30 days by default. Email and IP addresses are stored as coded (keyed hash) values that cannot be read back; you can choose to keep IP addresses. ShieldCraft adds suggested text to your privacy policy and works with WordPress's personal data export and erase tools.

安装:

  1. Install ShieldCraft from Plugins → Add New and activate it.
  2. That's it: comments, registration, lost password, WooCommerce and your form plugins are protected straight away.
  3. Review the options and the log under Settings → ShieldCraft.

屏幕截图:

  • The log, with Not spam, Block sender and Delete.
  • Which forms are protected and what happens to spam.
  • The invisible checks and the content rules.
  • Allowlist, log retention and privacy options.
  • The reason next to each spam comment.

升级注意事项:

2.0.0 WP Spam Protecter is now ShieldCraft: invisible spam protection for comments, accounts, WooCommerce and contact forms, with a spam log. Fixes 1.0 marking logged-in users' comments as spam. Requires WordPress 6.5 and PHP 7.4.

常见问题:

I used WP Spam Protecter 1.0. What changes?

Version 1.0 marked every comment by a logged-in user as spam, and its hidden field rarely caught bots. ShieldCraft replaces it completely. 1.0 stored no data, so there is nothing to move. Comments sent from old cached pages are held for moderation, not lost.

Do my visitors have to do anything?

No. The checks are invisible. People who browse without JavaScript can still comment (their comments are held for you to approve) and still log in.

A real message was stopped. What do I do?

Open Settings → ShieldCraft → Log and choose Not spam. A held or spam comment is approved, and that sender's email address passes from now on (IP addresses are often shared, so they are not trusted). The log shows why each message was stopped, so you can adjust the rule.

Can I protect the login form? Will I be locked out?

Login protection is off by default. When it is on, administrators and editors are always let in, a login is never refused just for missing JavaScript, and XML-RPC, the REST API and application passwords are not affected. A custom login form must print the login_form action or use wp_login_form(). In an emergency, add define( 'SHIELDCRAFT_DISABLE', true ); to wp-config.php to switch every check off.

Does it work with page caching?

Yes. The script fetches a fresh token from the REST API (never cached) when the page opens.

My site is behind Cloudflare or a proxy.

Choose the header that holds the visitor's address under Settings → ShieldCraft → Allowlist and privacy. The page shows what each header holds for your own visit. Only change it if your proxy really sends that header; otherwise visitors could fake their address.

How do I protect my own form?

Print the fields inside the form and check the submission where you handle it: <?php shieldcraft_fields( 'api' ); ?> if ( shieldcraft_is_spam( 'api', array( 'email' => $email, 'message' => $message ) ) ) { /* refuse it */ } shieldcraft_check() returns the verdict and the reasons. Add your own context with the shieldcraft_contexts filter. Headless front ends can get a token from GET /wp-json/shieldcraft/v1/token?context=api and ask POST /wp-json/shieldcraft/v1/check from the server that accepts the form.

Can developers change the checks?

Yes: shieldcraft_checks adds checks, shieldcraft_verdict changes a verdict, shieldcraft_blocked fires for every stopped submission, shieldcraft_min_seconds changes the time trap per form, shieldcraft_client_ip changes the visitor's address and shieldcraft_blocked_message changes the error message.

更新日志:

2.0.0 1.0.0