| 开发者 | wpsupporting |
|---|---|
| 更新时间 | 2026年11月29日 03:45 |
| 捐献地址: | 去捐款 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
/wp-content/plugins/formshield directory, or install the plugin through the WordPress plugins screen directly.Yes! FormShield allows you to protect unlimited forms without any license restrictions.
No! FormShield works silently in the background without requiring users to solve captchas.
FormShield supports 14+ form plugins including Contact Form 7, Gravity Forms, WPForms, Elementor Forms, and many more.
Yes! FormShield now includes a Location column that shows exactly where each form is detected - whether it's on a specific page, post, or other location.
FormShield is lightweight and optimized for performance. It adds minimal overhead to your site.
Yes! FormShield processes everything locally on your server and doesn't send data to external services.
gf-5, wpf-9, nf-7 — and no form plugin writes that string into its markup, so the comparison was always -1. The shared script now looks for the form plugin's own id where the plugin actually puts it: in the container's id, its classes, or the <form> inside it. A digit run only counts when it stands on its own, so a hashed widget id such as elementor-element-7b3c1a is not read as form 7. A container that carries no id still gets no badge, exactly as before — nothing is guessedelf-all, rather than one per form, and Elementor forms carry no id of their own, so there was never anything for the comparison to match. Every Elementor form on the page is now badged when that entry is onuniqid(), so a page with two protected forms of the same type would have repeated itcollect_post_text() read only top-level strings, so fields posted as an array — WPForms wpforms[fields][3], Formidable item_meta[123] — were skipped entirely, and Fluent Forms, which packs the whole form into one URL-encoded field, was reduced to a run-together word with no scheme and no host once the sanitiser had stripped the escapes. What the rules examined was the page URL, the page title and the post id. Nested fields are now walked to a bounded depth, and a field holding an encoded body or a JSON document is decoded first. Measured on real installs of all five free form plugins: WPForms, Formidable and Fluent Forms accepted spam before this release and block it after; Ninja Forms, HappyForms and Contact Form 7 blocked it both timesformshield_save_toggle_changes accepted a malformed payload, reported it as a success and wrote entries keyed by array index into the autoloaded option. The dashboard never sends that shape, but nothing refused itimages/banner-wp.png, 1.4 MB and 64% of the download, referenced by nothing. It is the WordPress.org directory banner, which belongs in the repository's /assets folder beside /trunk, not inside the plugin — and under that filename the directory never used it either. The release archive is 832 KB, down from 2.2 MBjs/forms-badge.js replaces seven near-identical scripts — elementor-forms-badge.js, fluent-forms-badge.js, formidable-forms-badge.js, gravity-forms-badge.js, happy-forms-badge.js, ninja-forms-badge.js and wp-forms-badge.js — and one FormShieldBadge class replaces the seven copies of the PHP that fed them. Each of those copies read the whole autoloaded options array and walked every stored form; an administrator viewing a page with three of these form plugins installed paid for three reads, three walks and three HTTP requests. It is now one of each, whatever the mix(ip_address, timestamp) index, and made schema upgrades reach sites updated in place. Took the debug log out of the autoloaded option, made "Debug Mode" work, and cut auto-protection from one option write and one email per form to one of each.
1.3.4
Removed a latent fatal: is_plugin_active() was called before WordPress loads the file that defines it, killing every front-end page on sites where nothing else had loaded it first. Deleted five unreachable files, including a 606-line list table loaded on every request.
1.3.3
Made the inert features work: email notifications, the IP whitelist, the whitelist buttons, the test-email nonce, and blocked-submission counters written to ids that exist.
1.3.2
Cut the front-end weight: no badge CSS for visitors who can never see a badge, one honeypot injector, and the dead behavioural listeners gone.
1.3.1
Security: permission callbacks on two REST routes that reported where forms live — including in private and draft content — to anyone who asked, and two missing capability checks.
1.3.0
Precision pass on the spam rules, word-boundary matching instead of naked substrings, and a large round of integration fixes.
Everything before 1.3.0, and all of the above in full, is in changelog.txt.