AntiSpam Shield by LukaCodes
Block comment spam, brute-force logins and bot registrations with reCAPTCHA v3 or Cloudflare Turnstile. Lightweight, no bloat.
Mit Vorsicht verwenden
AntiSpam Shield by LukaCodes works, but test it on a staging site before relying on it in 2026. It runs on 10+ sites and was last updated 6 months ago, and scores 45/100 on our health check.
- Kleine Benutzerbasis (10+ aktive Installationen)
- Bisher sehr wenige Bewertungen
Wie stapelt es sich?
Side-by-side bei Installationen, Updates, Bewertungen und SupportTägliche Downloads
Download-Spitzen folgen normalerweise einer neuen Version - jede Website, die automatisch aktualisiert wird, gilt als Download.
Ranglisten
Where AntiSpam Shield by LukaCodes stands todayWordPress.org Ranglisten suchen
Live-Position in der Plugin-Suche, Top 100| Stichwort | Position |
|---|---|
| Anti-Spam | >100 |
| recaptcha | >100 |
| spam | >100 |
| turnstile | >100 |
| WpForms | >100 |
Versionsübernahme
Anteil aktiver Sites pro Release.
About AntiSpam Shield by LukaCodes
From the official readme · v1.1.4Beschreibung
AntiSpam Shield by LukaCodes is a lightweight, no-bloat plugin that protects your WordPress comment section and contact forms from spam. Six independent tools, one settings page. Read the full documentation.
- Disable Website Field — Removes the URL/website field from the comment form. Works with all themes, including those that hardcode the field (CSS fallback included).
- Strip Links from Comments — Automatically removes all
<a href>hyperlinks from comment content — both on display and before saving to the database. Spammers get zero benefit from posting links. - reCAPTCHA v3 — Adds Google’s invisible bot-score protection. No checkbox, no puzzle, no friction for real users. Bots are silently blocked server-side.
- Cloudflare Turnstile — A privacy-friendly CAPTCHA alternative. Mutually exclusive with reCAPTCHA v3 — enabling one automatically disables the other.
- Login Shield — Adds CAPTCHA to the WordPress login form (
wp-login.php). Stops brute-force bots silently. - Registration Shield — Adds CAPTCHA to the WordPress registration form. Blocks bot account creation.
- WPForms Integration — Apply the same CAPTCHA protection to WPForms Lite — using the same keys you already configured, no extra setup.
- Easy Contact Form by LukaCodes Integration — Apply the same CAPTCHA protection to forms created with the companion Easy Contact Form plugin.
All features are independent — enable only what you need.
Login & Registration Shield
Version 1.1.2 adds CAPTCHA protection to wp-login.php:
- Login Shield — Hooks into
wp_authenticate_userfor server-side verification after credentials are checked. Returns aWP_Errorif CAPTCHA fails — WordPress displays it as a normal login error. - Registration Shield — Hooks into
registration_errorsto add CAPTCHA validation during registration. Works alongside all other WordPress registration validations.
Both are independently togglable in the settings panel. Admins already logged in are never affected.
WPForms Integration
Version 1.1.0 introduces CAPTCHA protection for WPForms Lite:
- Hooks into
wpforms_display_submit_beforeto inject the CAPTCHA widget before the submit button. - Hooks into
wpforms_processfor server-side token verification. - Works with both reCAPTCHA v3 (invisible) and Cloudflare Turnstile (visible widget).
Note: WPForms Pro includes its own native CAPTCHA integration — this feature is intended for WPForms Lite users only.
Easy Contact Form by LukaCodes Integration
Version 1.1.4 adds CAPTCHA protection for forms created with Easy Contact Form by LukaCodes:
- Injects the CAPTCHA widget (Turnstile) or invisible token (reCAPTCHA v3) into every Easy Contact Form on the page.
- Hooks into Easy Contact Form’s
lukacodes_comment_shield_checkfilter for server-side token verification before the submission is processed or emails are sent. - Uses the same CAPTCHA keys you already configured — no extra setup.
- When a token fails, the user sees a CAPTCHA-specific error message inline; the submission is never stored or emailed.
Why AntiSpam Shield?
Most anti-spam plugins are heavy, require accounts, or add ugly CAPTCHAs. AntiSpam Shield by LukaCodes is different:
- ~30 KB total — no external libraries, no jQuery dependency
- Settings page with live key testing — verify your reCAPTCHA or Turnstile keys before enabling
- Link stripping preview — paste any comment text and see exactly what gets removed
- Graceful fallback: if Google’s or Cloudflare’s API is unreachable, comments are held for moderation (never lost)
- Trusted users (administrators) bypass CAPTCHA checks automatically
- Mutual exclusion: reCAPTCHA v3 and Cloudflare Turnstile cannot be active at the same time
- WP Coding Standards compliant — fully escaped output, nonce-protected AJAX
reCAPTCHA v3 — How it works
When a visitor submits a form, JavaScript silently requests a score token from Google. The token is sent with the submission and verified server-side against your minimum score threshold (configurable from 0.1 to 1.0). No user interaction required.
Cloudflare Turnstile — How it works
A Turnstile widget is rendered inside the form. When the visitor completes the challenge, a token is submitted and verified server-side against the Cloudflare API.
Third-Party Services
This plugin optionally uses the following third-party services:
Google reCAPTCHA v3
A service provided by Google LLC.
- What it does: Detects bots and spam on your comment form and contact forms without user interaction.
- When data is sent: Only when reCAPTCHA v3 is enabled. A token is sent to
https://www.google.com/recaptcha/api/siteverifyon each form submission. - What data is sent: The visitor’s IP address and a reCAPTCHA token.
- Google Privacy Policy: https://policies.google.com/privacy
- Google Terms of Service: https://policies.google.com/terms
Cloudflare Turnstile
A service provided by Cloudflare, Inc.
- What it does: Presents a privacy-friendly CAPTCHA widget on comment and contact forms.
- When data is sent: Only when Cloudflare Turnstile is enabled. A token is sent to
https://challenges.cloudflare.com/turnstile/v0/siteverifyon each form submission. - What data is sent: The visitor’s IP address and a Turnstile token.
- Cloudflare Privacy Policy: https://www.cloudflare.com/privacypolicy/
- Cloudflare Terms of Service: https://www.cloudflare.com/website-terms/
Both services are entirely optional. If you do not enter API keys or enable either CAPTCHA, no data is sent to any third party.
Installation
- Upload the
lukacodes-comment-shieldfolder to/wp-content/plugins/ - Activate the plugin through Plugins → Installed Plugins
- Go to Settings → AntiSpam Shield to configure your options
reCAPTCHA v3 Setup
- Visit Google reCAPTCHA Admin Console
- Create a new site — select Score based (v3)
- Add your domain to the allowed domains list
- Copy the Site Key and Secret Key into the plugin settings
- Use the built-in 🔍 Test Keys button to verify connectivity before enabling
- Enable reCAPTCHA v3, set your minimum score, and save
Cloudflare Turnstile Setup
- Visit Cloudflare Turnstile Dashboard
- Create a new site and select your widget type (Managed recommended)
- Copy the Site Key and Secret Key into the plugin settings
- Use the built-in 🔍 Test Turnstile Keys button to verify connectivity before enabling
- Enable Cloudflare Turnstile and save — reCAPTCHA v3 will be disabled automatically
Contact Forms Setup
No extra setup needed. Once reCAPTCHA v3 or Cloudflare Turnstile is configured, go to the Contact Forms section in the settings and toggle on each plugin you want to protect. The admin panel shows which form plugins are currently installed and active on your site. Currently supported: WPForms Lite and Easy Contact Form by LukaCodes.
Änderungsprotokoll
Fixes key tester false-positive: keys from a different domain no longer show as valid. Recommended update for all users.
1.1.4
- Changed: Plugin display name renamed to “AntiSpam Shield by LukaCodes”
- Tested: Confirmed compatible with WordPress 7.0
- Added: Integration with Easy Contact Form by LukaCodes — injects CAPTCHA widget into every
.lecf-formon the page and verifies tokens server-side via thelukacodes_comment_shield_checkfilter - Added: New toggle “Easy Contact Form by LukaCodes” under the Contact Forms settings section
- Added: New “Easy Contact Form Shield” status row in the Plugin Status panel
- Bumped version to 1.1.4
1.1.3
- Added: Option to disable comments on all posts sitewide
- Added: Option to disable comments on all pages sitewide
- Fixed: WPForms CAPTCHA hook changed to wpforms_process_before — form submission is now blocked before email is sent when token is missing/invalid
- Fixed: Key tester now validates that reCAPTCHA / Turnstile keys are registered for this site’s domain
- Fixed: Keys from a different domain now show a clear “Domain mismatch” error instead of a false “keys look correct” result
- Improved: Turnstile key tester now passes sitekey to Cloudflare API to enable domain-level validation
- Improved: Greek (el) translation updated to 100% — all strings now translated
- Bumped version to 1.1.3
1.1.2
- Added Login Shield: CAPTCHA protection for wp-login.php login form
- Added Registration Shield: CAPTCHA protection for wp-login.php registration form
- Login and Registration shields are independently togglable in the settings panel
- Both shields reuse existing reCAPTCHA v3 / Turnstile keys — no additional setup required
- Added Login Shield and Register Shield rows to Plugin Status panel
- Updated POT template with all new i18n strings
- Updated Greek (el) translation with all new strings
- Bumped version to 1.1.2
1.1.0
- Added WPForms Lite integration: reCAPTCHA v3 and Cloudflare Turnstile protection for WPForms forms
- WPForms protection reuses existing CAPTCHA keys — no additional setup required
- Added WPForms panel in admin: auto-detects if WPForms is installed, toggle to enable/disable
- Added WPForms Shield row to Plugin Status panel
- Updated POT template with all new i18n strings
- Updated Greek (el) translation with all new strings
- Bumped version to 1.1.0
1.0.1
- Added Cloudflare Turnstile as a second CAPTCHA option (privacy-friendly alternative to reCAPTCHA)
- Added mutual exclusion logic: enabling reCAPTCHA disables Turnstile and vice versa
- Added server-side Turnstile token verification with moderation fallback
- Added live Turnstile key tester in the settings panel
- Updated uninstall.php to clean up Turnstile options on deletion
0.3
- Added server-side reCAPTCHA verification with action and hostname validation
- Added fallback: holds comment for moderation if Google API is unreachable
- Added
COMMSH_VERSIONconstant and activation hook to seed default options - Improved score threshold: configurable from 0.1 to 1.0 with live slider
Für Entwickler
Ist das dein Plugin? Zeigen Sie die Zahlen.
Fügen Sie Ihrer Website, Docs oder GitHub Readme ein Live-Badge hinzu. Es wird von selbst aktualisiert - kein Konto erforderlich.
Best AntiSpam Shield by LukaCodes alternatives
Alle Anti-Spam-Plugins →Fragen und Antworten
AntiSpam Shield by LukaCodes: quick answers
Gerade Antworten, gezogen von Live WordPress.org Daten.
Quelle: WordPress.org
Is AntiSpam Shield by LukaCodes free?
Yes. AntiSpam Shield by LukaCodes is free to download and use from the official WordPress.org plugin directory.
Is AntiSpam Shield by LukaCodes safe to use in 2026?
AntiSpam Shield by LukaCodes works, but test it on a staging site before relying on it in 2026. It runs on 10+ sites and was last updated 6 months ago, and scores 45/100 on our health check.
How many websites use AntiSpam Shield by LukaCodes?
AntiSpam Shield by LukaCodes is active on 10+ WordPress websites and has been downloaded 892 times since it launched in March 2026. It was downloaded 63 times in the last 30 days.
Does AntiSpam Shield by LukaCodes work with WordPress 7.1?
AntiSpam Shield by LukaCodes is officially tested up to WordPress 7.0.9, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
What PHP version does AntiSpam Shield by LukaCodes need?
AntiSpam Shield by LukaCodes requires PHP 8.0 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was AntiSpam Shield by LukaCodes last updated?
The latest version, 1.1.4, was released on May 21, 2026 (6 months ago).
Who makes AntiSpam Shield by LukaCodes?
AntiSpam Shield by LukaCodes is developed and maintained by LukaCodes.
What are the best alternatives to AntiSpam Shield by LukaCodes?
The most popular alternatives to AntiSpam Shield by LukaCodes are Akismet Anti-spam: Spam Pro… (5M+ installs), Antispam Bee (700K+ installs) and WP Armour (400K+ installs).
Angetrieben von PageForge
Eine Vorlage und eine Tabelle. Eine echte Seite für jede Suche.
PageForge Verwandelt jede Zeile eines CSV in eine WordPress-Seite mit eigenem Titel, URL, SEO Felder und Schema entworfen. Kostenlos auf WordPress.org.
- CSV und XLSX, plus Google Sheets auf Beruf und Unternehmen
- seinen eigenen Titel, URL, SEO Felder und Schema für jede Seite
- Arbeitet mit dem Blockeditor, Elementor, Divi und Avada
- Kostenlos auf WordPress.org, keine Kreditkarte

