Releases: GravityKit/gravity-forms-zero-spam
Releases · GravityKit/gravity-forms-zero-spam
1.8.0
1.7.5
- Fixed: Forms rendered in modals or other elements output via
wp_footer(e.g., site-wide popups, slide-ins) were missing the spam prevention token, causing legitimate submissions to be flagged as spam
1.7.4
- Added: "Anti-Spam Expiration" setting to control how long spam prevention tokens remain valid, accessible from Forms > Settings > Zero Spam
- Fixed: Email rejection settings and form editor scripts not loading when Gravity Forms No Conflict mode is enabled
- Fixed: Form submission failure ("Cannot read properties of undefined") caused by the token fetch request failing unexpectedly
1.7.3
- Improved: Extended token lifetime to 7 days and improved token fetching compatibility
- Fixed: Submissions from pages with multiple Gravity Forms were incorrectly marked as spam when the form wasn't the first one on the page
- Added:
gf_zero_spam_token_ttlandgf_zero_spam_fallback_token_ttlfilters to adjust the lifetime of dynamically fetched and HTML-embedded fallback tokens respectively (default for both: 7 days)
1.7.2
- Fixed: Forms with conditional logic could be invisible to visitors
1.7.1
- Fixed: Fatal error on sites where
AUTH_KEYorSECURE_AUTH_KEYconstants are not defined inwp-config.php
1.7.0
- Added: Stronger spam prevention using signed, time-limited tokens
- API: Added
gf_zero_spam_client_ipfilter to override the visitor IP used for rate limiting (useful for sites behind Cloudflare or load balancers) - API: Added
gf_zero_spam_rate_limitfilter to adjust the maximum token requests allowed per IP per minute (default: 30)
1.6.0
- Improved: Removed dependency on jQuery
- Fixed: "Prevent spam using Gravity Forms Zero Spam" toggle appeared twice in form settings
1.5.0
This release requires PHP 7.4 or newer.
- Added: Email rejection rules to validate email field submissions and take action based on matching addresses, domains, or patterns
- Match by exact email, domain (e.g.,
@example.com), wildcard, or regular expressions (regex) - Block the submission (requires Gravity Forms 2.9.15+), flag it as spam, or log it with an entry note
- Import multiple rules at once from a text list
- Enable/disable rules individually
- Set field-specific overrides in the Form Editor
- Match by exact email, domain (e.g.,
- Added: Spam entries now show the reason they were flagged (e.g., missing or invalid key)
- Added: Zero Spam toggle now appears in the "Spam" form settings section on Gravity Forms 2.9.21+
- Added: Spam protection for Save and Continue, preventing bots from creating spam drafts
- Improved: Redundant spam checks are skipped when the entry is already flagged by another filter
- API: Added
gf_zero_spam_email_rulesfilter to modify email rejection rules before evaluation - API: Added
gf_zero_spam_email_rule_matchaction that fires when an email matches a rejection rule