Contact Form 7 version 5.9 is now available. This is a major update including many significant changes. Upgrading the plugin to 5.9 is recommended for all users.
SWV 1.3.0
The bundled Schema-Woven Validation (SWV) package has been updated to 1.3.0. This version of SWV supports composite rules that make it possible to define validation rules necessary for conditional logic.
Constant Contact integration deprecated
As I previously announced, the Constant Contact integration feature has been deprecated. In Contact Form 7 5.9, exposure of the feature is minimized, and you’ll get warnings if the feature is active.
Major changes
- Block editor: Upgrades the
apiVersionto3. - Updates the fifth parameter of
wp_enqueue_script()andwp_register_script()function calls. - Improves efficiency of schema loading.
- Applies the
enumvalidation to drop-down menu fields and checkboxes. - WPCF7_Mail: Introduces
get_current_template_name()andget_current_component_name(). - SWV: Reorganizes the PHP classes for rules under the
Contactable\SWVnamespace. - SWV: Applies
wp_unslash()to user inputs. - Introduces the
WPCF7_MailTag_OutputCalculatorclass that has an ability to calculate the output of a mail-tag based on the SWV schema. - Config validator: Validates the email configuration more precisely using
WPCF7_MailTag_OutputCalculator. - Introduces the
WPCF7_PipesHoldertrait that manages the form-wide pipes. - Submission: Improves the
setup_posted_data()method. - Checkboxes: Changes the field name used for the
free_textoption. - Acceptance checkbox: Adds support for the
selectable-valuesfeature.
You can browse the full list of changes on GitHub.
Requires: WordPress 6.3 or higher
Tested up to: WordPress 6.4.3