Contact Form Widget – Responsive Contact Form, Query Form & Form Builder source code

By A WP Life, on WordPress.org since 2016. 1,000+ active installs.

Browse code Download zip

Contact Form Widget is a lightweight, responsive contact form plugin for WordPress designed to collect user inquiries, leads, and customer feedback effortlessly. Below is its source code for every one of its 45 releases, what changed in the latest one, and how often it ships.

What changed in 1.5.4

Released Dec 3, 2026, 2 months after 1.5.3
  • Security: Escaped all widget form attributes and validation error messages, enforced nonce verification for guest submissions, hardened Reply-To email headers, added IP-based submission rate limiting, and added strict allowlist/range validation for settings.
  • Fix: Prevented PHP 8+ TypeErrors on array payloads, preserved newlines in success/failure messages (white-space: pre-line), added Enter-key AJAX submission support, and restored the form on server-side error responses.
  • Fix: Unified shortcode and widget rendering with unique per-instance IDs, preserved custom form width on Settings page load, fixed mobile responsiveness (max-width: 100% and stacked fields on small screens), and moved admin query actions to dedicated wp_ajax_* handlers.
  • Fix: Fixed pagination controls on the queries page, streamed CSV exports in batches, enabled Thickbox modal on the Our Plugins page, added INSTALLED badge parity on Our Themes, and scoped admin CSS under .cfw-settings-wrap.
  • Accessibility & Compliance: Added WCAG form/table attributes and keyboard focus indicators, conditional frontend asset loading, automatic DB schema migration on plugin updates, WordPress Privacy/GDPR exporter & eraser hooks, and uninstall.php cleanup.

15 files changed since 1.5.3: 12 modified, 1 added, 2 removed.

And 5 more.

Compare 1.5.3 with 1.5.4

Release history

45 releases since December 2019
  1. 1.5.4 Dec 3, 2026 Security: Escaped all widget form attributes and validation error messages, enforced nonce verification for guest submissions, hardened Reply-To email headers, added IP-based submission rate limiting, and added strict allowlist/range validation for settings.
  2. 1.5.3 Oct 2, 2026 Security: Neutralized CSV formula injection risks during export and added UTF-8 BOM encoding.
  3. 1.5.2 Aug 20, 2026 Fixed View Query modal popup rendering in admin dashboard.
  4. 1.5.1 Dec 15, 2025 Tested and confirmed compatibility with WordPress 6.9.
  5. 1.5.0 Dec 3, 2025 Resolved CSV download button issue and updated administrative scripts.
Full Contact Form Widget – Responsive Contact Form, Query Form & Form Builder changelog with diffs

Source of 1.5.4

36 files
Browse all Contact Form Widget – Responsive Contact Form, Query Form & Form Builder 1.5.4 files Browse trunk