Contact Form 7 5.7.1

Contact Form 7 version 5.7.1 is now available. This minor update release includes fixes for a couple of issues that have been reported after the release of 5.7.

Heads-up about the WP_DEBUG mode

Users on the support forum have reported that they get a debug notice (see below) on their admin screen.

Notice: Function register_block_script_handle was called incorrectly. The asset file for the “editorScript” defined in “contact-form-7/contact-form-selector” block definition is missing.

This in itself is not a critical issue. This notice just indicates to developers that a function is used in an unintended way. It is provided for developers, and only developers who work in a local environment with the WP_DEBUG mode active should see it. WP_DEBUG is a high-level configuration for developers, and using it on a live site is not recommended since it has a risk of sensitive information leak.

Nevertheless, this time, a lot of users who seem to be non-developers reported this issue. This is quite odd. If you see the debug notice on your live site, it means that you have a severe misconfiguration at the WordPress level. Check your wp-config.php file immediately. This plugin update is not meant to correct it for you; that is your responsibility.

Requires: WordPress 6.0 or higher
Tested up to: WordPress 6.1.1

» Download Contact Form 7 plugin from WordPress.org

Major changes

  • Includes asset files in the wp.org SVN repository.
  • Fixed: wpcf7_autop() generated unnecessary <p> and <br />.
  • Confirms availability of the specified locale before switching to it.

You can browse the full list of changes on GitHub.