Contact Form 7 5.9

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 apiVersion to 3.
  • Updates the fifth parameter of wp_enqueue_script() and wp_register_script() function calls.
  • Improves efficiency of schema loading.
  • Applies the enum validation to drop-down menu fields and checkboxes.
  • WPCF7_Mail: Introduces get_current_template_name() and get_current_component_name().
  • SWV: Reorganizes the PHP classes for rules under the Contactable\SWV namespace.
  • SWV: Applies wp_unslash() to user inputs.
  • Introduces the WPCF7_MailTag_OutputCalculator class 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_PipesHolder trait that manages the form-wide pipes.
  • Submission: Improves the setup_posted_data() method.
  • Checkboxes: Changes the field name used for the free_text option.
  • Acceptance checkbox: Adds support for the selectable-values feature.

You can browse the full list of changes on GitHub.

Requires: WordPress 6.3 or higher
Tested up to: WordPress 6.4.3

» Download Contact Form 7 plugin from