Title: ShieldCraft – Invisible Spam Protection
Author: Rajan Vijayan
Published: <strong>2018年11月29日</strong>
Last modified: 2026年10月24日

---

プラグインを検索

![](https://ps.w.org/wp-spam-protecter/assets/banner-772x250.png?rev=3763203)

![](https://ps.w.org/wp-spam-protecter/assets/icon-256x256.png?rev=3763203)

# ShieldCraft – Invisible Spam Protection

 作者: [Rajan Vijayan](https://profiles.wordpress.org/rajanit2000/)

[ダウンロード](https://downloads.wordpress.org/plugin/wp-spam-protecter.2.0.0.zip)

 * [詳細](https://ja.wordpress.org/plugins/wp-spam-protecter/#description)
 * [レビュー](https://ja.wordpress.org/plugins/wp-spam-protecter/#reviews)
 *  [インストール](https://ja.wordpress.org/plugins/wp-spam-protecter/#installation)
 * [開発](https://ja.wordpress.org/plugins/wp-spam-protecter/#developers)

 [サポート](https://wordpress.org/support/plugin/wp-spam-protecter/)

## 説明

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

 * **Hidden field:** a field people never see or reach, which bots fill in.
 * **Time trap:** each form carries a signed token, so forms sent within a few seconds
   of opening are spam, and tokens cannot be forged, back-dated or reused on another
   form.
 * **JavaScript proof:** a small script adds a code that simple bots cannot. Visitors
   without JavaScript are only _suspicious_: their comments are held for moderation,
   not lost.
 * **Works with page caching:** the script fetches a fresh token when the page opens,
   so cached pages keep working.

#### Rules you control

 * Limit the number of links in a message.
 * Block words (and use WordPress’s own “Disallowed Comment Keys”), email addresses
   and domains, IP addresses and ranges (IPv4 and IPv6).
 * Block messages written mostly in a writing system you never receive mail in (
   Cyrillic, Han, Arabic and more).
 * Block the same message sent again, and limit submissions per visitor per minute.
 * Allowlist roles, IP addresses and email addresses. Administrators, editors and
   moderators are never checked.

#### Protects

 * **Comments and product reviews**: spam goes to the Spam folder (or is refused),
   suspicious comments are held. Trackbacks and pingbacks get the content rules.
 * **Registration, lost password and network sign-up.**
 * **Login** (optional): checked after the password, so a wrong password gets WordPress’s
   usual error, and administrators are always let in.
 * **WooCommerce**: My Account registration and login, and the classic checkout.
   The block checkout gets the content rules and the rate limit, which also slows
   down card-testing bots.
 * **Contact Form 7, WPForms, Gravity Forms, Fluent Forms and Elementor Pro forms**,
   through each plugin’s own spam handling, so refused messages show the form’s 
   usual error.
 * **Your own forms**, with three PHP functions or the REST API (see the FAQ).

#### See what was stopped

 * A **dashboard** with what was stopped, where and why, for the last 7 or 30 days.
 * A **log** of every stopped or held submission. Mark a sender **Not spam** (the
   held comment is approved and the email address passes from now on) or **Block
   sender** (email and IP address).
 * The reason next to each held or spam comment on the Comments screen, and a dashboard
   widget.

#### 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.

## スクリーンショット

[⌊The dashboard: what was stopped, where and why.⌉⌊The dashboard: what was stopped,
where and why.⌉[

The dashboard: what was stopped, where and why.

[⌊The log, with Not spam, Block sender and Delete.⌉⌊The log, with Not spam, Block
sender and Delete.⌉[

The log, with Not spam, Block sender and Delete.

[⌊Which forms are protected and what happens to spam.⌉⌊Which forms are protected
and what happens to spam.⌉[

Which forms are protected and what happens to spam.

[⌊The invisible checks and the content rules.⌉⌊The invisible checks and the content
rules.⌉[

The invisible checks and the content rules.

[⌊Allowlist, log retention and privacy options.⌉⌊Allowlist, log retention and privacy
options.⌉[

Allowlist, log retention and privacy options.

[⌊The reason next to each spam comment.⌉⌊The reason next to each spam comment.⌉[

The reason next to each spam comment.

## インストール

 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**.

## FAQ

### 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.

## 評価

このプラグインにはレビューがありません。

## 貢献者と開発者

ShieldCraft – Invisible Spam Protection はオープンソースソフトウェアです。以下の
人々がこのプラグインに貢献しています。

貢献者

 *   [ Rajan Vijayan ](https://profiles.wordpress.org/rajanit2000/)

[“ShieldCraft – Invisible Spam Protection” をあなたの言語に翻訳しましょう。](https://translate.wordpress.org/projects/wp-plugins/wp-spam-protecter)

### 開発に興味がありますか ?

[コードを閲覧](https://plugins.trac.wordpress.org/browser/wp-spam-protecter/)する
か、[SVN リポジトリ](https://plugins.svn.wordpress.org/wp-spam-protecter/)をチェック
するか、[開発ログ](https://plugins.trac.wordpress.org/log/wp-spam-protecter/)を 
[RSS](https://plugins.trac.wordpress.org/log/wp-spam-protecter/?limit=100&mode=stop_on_copy&format=rss)
で購読してみてください。

## 変更履歴

#### 2.0.0

 * New: renamed to ShieldCraft and rewritten from scratch.
 * New: hidden field, signed time trap and JavaScript proof, with fresh tokens for
   cached pages.
 * New: rules for links, words, email addresses, IP addresses and ranges, writing
   systems, repeated messages and submissions per minute; allowlist by role, IP 
   and email.
 * New: protection for registration, lost password, network sign-up and (optional)
   login.
 * New: WooCommerce My Account registration and login, classic and block checkout,
   and product reviews.
 * New: Contact Form 7, WPForms, Gravity Forms, Fluent Forms and Elementor Pro forms.
 * New: PHP functions and REST routes for custom and headless forms.
 * New: dashboard, spam log with Not spam and Block sender, comment notes and a 
   dashboard widget.
 * New: privacy policy text, personal data export and erase, and hashed email and
   IP addresses in the log.
 * Fix: version 1.0 marked every comment by a logged-in user as spam.
 * Requires WordPress 6.5 and PHP 7.4 or later.

#### 1.0.0

 * Hidden field check for comments.

## メタ

 *  バージョン **2.0.0**
 *  最終更新日 **3週間前**
 *  有効インストール数 **10未満**
 *  WordPress バージョン ** 6.5またはそれ以降 **
 *  検証済み最新バージョン: **7.1.4**
 *  PHP バージョン ** 7.4またはそれ以降 **
 *  言語
 * [English (US)](https://wordpress.org/plugins/wp-spam-protecter/)
 * タグ
 * [anti-spam](https://ja.wordpress.org/plugins/tags/anti-spam/)[comments](https://ja.wordpress.org/plugins/tags/comments/)
   [contact form](https://ja.wordpress.org/plugins/tags/contact-form/)[honeypot](https://ja.wordpress.org/plugins/tags/honeypot/)
   [spam](https://ja.wordpress.org/plugins/tags/spam/)
 *  [詳細を表示](https://ja.wordpress.org/plugins/wp-spam-protecter/advanced/)

## 評価

レビューはまだ送信されていません。

[Your review](https://wordpress.org/support/plugin/wp-spam-protecter/reviews/#new-post)

[すべてのレビューを見る](https://wordpress.org/support/plugin/wp-spam-protecter/reviews/)

## 貢献者

 *   [ Rajan Vijayan ](https://profiles.wordpress.org/rajanit2000/)

## サポート

意見や質問がありますか ?

 [サポートフォーラムを表示](https://wordpress.org/support/plugin/wp-spam-protecter/)