Berestov Anti-spam for Contact Form 7

Description

Berestov Anti-spam for Contact Form 7 adds a lightweight, privacy-friendly anti-spam layer without modifying Contact Form 7 core files.

Features:

  • Layered anti-spam protection designed for real-world form traffic.
  • Fresh protection data can be refreshed on rendered forms, which helps on cached pages.
  • Front-end assets load only where protected forms are present.
  • Optional diagnostic logging to the plugin log file.
  • Built-in statistics for allowed and blocked requests.
  • Optional WordPress comment protection module.

Screenshots

Installation

  1. Upload the plugin folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the Plugins screen in WordPress.
  3. Make sure Contact Form 7 is installed and active.
  4. Go to Settings > CF7 Anti-spam and keep protection enabled.

FAQ

Does this plugin change Contact Form 7 core files?

No. It integrates through hooks and front-end injection only.

Does it work with cached pages?

Yes. The script requests a fresh anti-spam challenge for rendered forms, so cached HTML is less likely to cause stale hidden values.

Reviews

There are no reviews for this plugin.

Contributors and Developers

“Berestov Anti-spam for Contact Form 7” is open source software. The following people have contributed to this plugin.

Contributors

Change Log

1.0.35

  • Refined public request parsing to read only expected anti-spam fields.

1.0.34

  • Restored cached form challenge refresh support with allowlisted unit tags.

1.0.33

  • Restricted public request parsing to allowlisted anti-spam fields.

1.0.32

  • Addressed WordPress.org review feedback for admin assets, metadata, and output handling.
  • Renamed the 24-hour statistics row for clarity.

1.0.31

  • Reduced implementation detail in admin and readme text and cleaned duplicate 1.0.30 entries.

1.0.30

  • Show statistics only for enabled protection modules.
  • Unified legacy CF7 passed statistics with modern behavior.

1.0.29

  • Fixed WordPress comment protection token validation by switching comments and challenge refresh to the same shared anti-spam token store.

1.0.28

  • Fixed comment protection token handling to use the shared challenge token store.

1.0.27

  • Removed the hard dependency on Contact Form 7 so the comments module can be used independently.
  • Refined the admin interface styling with cleaner native WordPress sections and reduced visual framing.

1.0.26

  • Refined the admin interface layout and visual styling for a cleaner native WordPress look.

1.0.25

  • Refined the settings UI and improved the statistics layout.

1.0.24

  • Improved comment-module debug logging and frontend loading hygiene.

1.0.23

  • Added optional WordPress comment protection module.
  • Expanded protection statistics with today, 7-day, 30-day, and all-time ranges.
  • Split protection statistics per module for Contact Form 7 and comments.

1.0.22

  • Improved legacy fork blocking and fallback challenge refresh when admin AJAX is restricted.
  • Reduced duplicate challenge refresh requests and improved legacy spam response messaging.

1.0.18

  • Added a behavior marker layer for pointer, touch, and keyboard interaction.
  • Added protection statistics for passed and blocked submissions.
  • Fixed asset versioning so the front-end script version matches the current plugin version.

1.0.17

  • Improved admin hints for clarity and accuracy.

1.0.16

  • Adjusted minimum submission time window for better UX.

1.0.15

  • Improved REST compatibility and challenge handling.

1.0.12

  • Fixed compatibility with Contact Form 7 REST API submissions.

1.0.10

  • Added diagnostic logging system.

1.0.0

  • Initial release.