Contact Form 7 version 6.0 is now available. This is a major update including many significant changes. Upgrading the plugin to 6.0 is recommended for all users.
Editor revamped
6.0 revamps the contact form editor screen. Throughout the screen, legacy HTML, CSS and JavaScript are replaced with modern versions.
The most obvious changes are the tag-generator popups. Previously, the ThickBox jQuery library was used; now it is implemented based on the <dialog>
HTML element.
Tag-generator v2
6.0 introduces the tag-generator version 2 and rewrites existing generators based on v2. Tag-generator v2 allows you to implement a finer, more solid user interface than ever before.
The previous tag-generator (v1) will continue to work, but an E_USER_DEPRECATED
level warning will urge users to upgrade to v2.
SWV 1.4.0
The bundled Schema-Woven Validation (SWV) package has been updated to 1.4.0. This version newly supports the stepnumber
rule type, improves telephone number validation, and introduces consistent surrounding whitespace handling.
Major changes
- SWV: Supports
stepnumber
rule type. - Brevo: Improves SMS number handling.
- Tag-generator: Removes ThickBox in favor of
<dialog>
. - Tag-generator: Introduces v2, deprecates v1.
- L10n: Uses
wp_set_script_translations()
to localize scripts. - Stops use of
wp_localize_script()
in favor ofwp_add_inline_script()
. - Really Simple CAPTCHA: Removes tag-generator.
- Adds
data-wpcf7-id
attribute to wrapper<div>
of contact form. - Uses
wp_trigger_error()
instead oftrigger_error()
. - Text fields: Supports
list:
option. - Improves telephone number validation.
- New function:
wpcf7_canonicalize_name()
- New function:
wpcf7_strip_whitespaces()
- New special mail-tag:
[_site_domain]
- New special mail-tag:
[_contact_form_title]
- Removes
wpcf7_post_edit_form_tag
action hook.
You can browse the full list of changes on GitHub.
Requires: WordPress 6.6 or higher
Tested up to: WordPress 6.7 RC2