Version Description
Reverted autop-fix because it was causing addional errors. Bottom line: Make sure you are om Conditional Fields version 2.2.11 and CF7 version 5.6.4
=
Download this release
Release Info
Developer | Jules Colle |
Plugin | Conditional Fields for Contact Form 7 |
Version | 2.2.11 |
Comparing to | |
See all releases |
Code changes from version 2.2.10 to 2.2.11
- cf7cf.php +0 -5
- contact-form-7-conditional-fields.php +1 -1
- init.php +2 -2
- readme.txt +10 -1
cf7cf.php
CHANGED
@@ -37,11 +37,6 @@ class CF7CF {
|
|
37 |
|
38 |
add_action("wpcf7_before_send_mail", [$this, 'hide_hidden_mail_fields'], 10, 3);
|
39 |
|
40 |
-
// disable autop because it introduces too many problems with parsing.
|
41 |
-
// If you still want to use autop (at your own risk) copy this line to your functions.php file:
|
42 |
-
// add_filter( 'wpcf7_autop_or_not', '__return_true', 41, 0);
|
43 |
-
add_filter( 'wpcf7_autop_or_not', '__return_false', 40, 0);
|
44 |
-
|
45 |
register_activation_hook(__FILE__, array($this, 'activate'));
|
46 |
|
47 |
if (is_admin()) {
|
37 |
|
38 |
add_action("wpcf7_before_send_mail", [$this, 'hide_hidden_mail_fields'], 10, 3);
|
39 |
|
|
|
|
|
|
|
|
|
|
|
40 |
register_activation_hook(__FILE__, array($this, 'activate'));
|
41 |
|
42 |
if (is_admin()) {
|
contact-form-7-conditional-fields.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* Plugin URI: http://bdwm.be/
|
5 |
* Description: Adds support for conditional fields to Contact Form 7. This plugin depends on Contact Form 7.
|
6 |
* Author: Jules Colle
|
7 |
-
* Version: 2.2.
|
8 |
* Author URI: http://bdwm.be/
|
9 |
* Text Domain: cf7-conditional-fields
|
10 |
* License: GPL v2 or later
|
4 |
* Plugin URI: http://bdwm.be/
|
5 |
* Description: Adds support for conditional fields to Contact Form 7. This plugin depends on Contact Form 7.
|
6 |
* Author: Jules Colle
|
7 |
+
* Version: 2.2.11
|
8 |
* Author URI: http://bdwm.be/
|
9 |
* Text Domain: cf7-conditional-fields
|
10 |
* License: GPL v2 or later
|
init.php
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
<?php
|
2 |
|
3 |
-
if (!defined('WPCF7CF_VERSION')) define( 'WPCF7CF_VERSION', '2.2.
|
4 |
if (!defined('WPCF7CF_CF7_MIN_VERSION')) define( 'WPCF7CF_CF7_MIN_VERSION', '5.6' );
|
5 |
-
if (!defined('WPCF7CF_CF7_MAX_VERSION')) define( 'WPCF7CF_CF7_MAX_VERSION', '5.
|
6 |
if (!defined('WPCF7CF_REQUIRED_WP_VERSION')) define( 'WPCF7CF_REQUIRED_WP_VERSION', '4.1' );
|
7 |
if (!defined('WPCF7CF_PLUGIN')) define( 'WPCF7CF_PLUGIN', __FILE__ );
|
8 |
if (!defined('WPCF7CF_PLUGIN_BASENAME')) define( 'WPCF7CF_PLUGIN_BASENAME', plugin_basename( WPCF7CF_PLUGIN ) );
|
1 |
<?php
|
2 |
|
3 |
+
if (!defined('WPCF7CF_VERSION')) define( 'WPCF7CF_VERSION', '2.2.11' );
|
4 |
if (!defined('WPCF7CF_CF7_MIN_VERSION')) define( 'WPCF7CF_CF7_MIN_VERSION', '5.6' );
|
5 |
+
if (!defined('WPCF7CF_CF7_MAX_VERSION')) define( 'WPCF7CF_CF7_MAX_VERSION', '5.6.4' );
|
6 |
if (!defined('WPCF7CF_REQUIRED_WP_VERSION')) define( 'WPCF7CF_REQUIRED_WP_VERSION', '4.1' );
|
7 |
if (!defined('WPCF7CF_PLUGIN')) define( 'WPCF7CF_PLUGIN', __FILE__ );
|
8 |
if (!defined('WPCF7CF_PLUGIN_BASENAME')) define( 'WPCF7CF_PLUGIN_BASENAME', plugin_basename( WPCF7CF_PLUGIN ) );
|
readme.txt
CHANGED
@@ -6,7 +6,7 @@ Website: http://bdwm.be
|
|
6 |
Tags: wordpress, contact form 7, forms, conditional fields
|
7 |
Requires at least: 5.0
|
8 |
Tested up to: 6.1.1
|
9 |
-
Stable tag: 2.2.
|
10 |
Requires PHP: 7.0
|
11 |
License: GPLv2 or later
|
12 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
@@ -129,8 +129,17 @@ Make sure to also update CF7 to the latest version! (Version 2.2 is only compati
|
|
129 |
|
130 |
Because the nature of the changes introduced in version 5.7 of Contact Form 7 you might need to make some manual changes to your forms and/or to your wp-config.php file. Please check the changelog. You could also wait for the release of version 5.7.1 of Contact Form 7. We hope the author will have address some of the issues by then.
|
131 |
|
|
|
|
|
|
|
|
|
132 |
== Changelog ==
|
133 |
|
|
|
|
|
|
|
|
|
|
|
134 |
= 2.2.10 (2022-12-11) =
|
135 |
* Fully tested with Contact Form 7 version 5.7 (when WP_DEBUG is false). Note: due to some errors in Contact Form 7 version 5.7 you will need to make sure WP_DEBUG is set to false in your wp-config.php file.
|
136 |
* disable automatic insertion of paragraphs. Recent CF7 updates have changed the autop mechanism, causing too many problems with parsing the HTML code. If you still want to use autop (at your own risk) copy this code to your functions.php file: `add_filter( 'wpcf7_autop_or_not', '__return_true', 41, 0);`. Untill further notice Conditional Fields and Conditional Fields for Contact Form 7 will not use the automatic paragraph feature of CF7. Always try to write clean and valid HTML code. [GH issue 85](https://github.com/pwkip/contact-form-7-conditional-fields/issues/85)
|
6 |
Tags: wordpress, contact form 7, forms, conditional fields
|
7 |
Requires at least: 5.0
|
8 |
Tested up to: 6.1.1
|
9 |
+
Stable tag: 2.2.11
|
10 |
Requires PHP: 7.0
|
11 |
License: GPLv2 or later
|
12 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
129 |
|
130 |
Because the nature of the changes introduced in version 5.7 of Contact Form 7 you might need to make some manual changes to your forms and/or to your wp-config.php file. Please check the changelog. You could also wait for the release of version 5.7.1 of Contact Form 7. We hope the author will have address some of the issues by then.
|
131 |
|
132 |
+
= 2.2.11 =
|
133 |
+
|
134 |
+
Reverted autop-fix because it was causing addional errors. Bottom line: Make sure you are om Conditional Fields version 2.2.11 and CF7 version 5.6.4
|
135 |
+
|
136 |
== Changelog ==
|
137 |
|
138 |
+
= 2.2.11 (2022-12-13) =
|
139 |
+
* DO NOT UPDATE TO CONTACT FORM VERSION 5.7!! At least wait for version 5.7.1 before updating
|
140 |
+
* Reverted autop-fix because it was causing addional errors.
|
141 |
+
* Reverted compatibility declaration to CF7 version 5.6.4
|
142 |
+
|
143 |
= 2.2.10 (2022-12-11) =
|
144 |
* Fully tested with Contact Form 7 version 5.7 (when WP_DEBUG is false). Note: due to some errors in Contact Form 7 version 5.7 you will need to make sure WP_DEBUG is set to false in your wp-config.php file.
|
145 |
* disable automatic insertion of paragraphs. Recent CF7 updates have changed the autop mechanism, causing too many problems with parsing the HTML code. If you still want to use autop (at your own risk) copy this code to your functions.php file: `add_filter( 'wpcf7_autop_or_not', '__return_true', 41, 0);`. Untill further notice Conditional Fields and Conditional Fields for Contact Form 7 will not use the automatic paragraph feature of CF7. Always try to write clean and valid HTML code. [GH issue 85](https://github.com/pwkip/contact-form-7-conditional-fields/issues/85)
|