Version Description
Contact From 7 version 4.8 or above is required for this version.
fixed incompatible JSON_UNESCAPED_UNICODE for PHP versions < 5.4.
Download this release
Release Info
Developer | webheadllc |
Plugin | Contact Form 7 Multi-Step Forms |
Version | 2.25 |
Comparing to | |
See all releases |
Code changes from version 2.24 to 2.25
- contact-form-7-multi-step-module.php +11 -3
- readme.txt +6 -2
contact-form-7-multi-step-module.php
CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://www.mymonkeydo.com/contact-form-7-multi-step-module/
|
|
5 |
Description: Enables the Contact Form 7 plugin to create multi-page, multi-step forms.
|
6 |
Author: Webhead LLC.
|
7 |
Author URI: http://webheadcoder.com
|
8 |
-
Version: 2.
|
9 |
*/
|
10 |
/* Copyright 2012 Webhead LLC (email: info at webheadcoder.com)
|
11 |
|
@@ -24,7 +24,7 @@ Version: 2.24
|
|
24 |
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
25 |
*/
|
26 |
|
27 |
-
define( 'CF7MSM_VERSION', '2.
|
28 |
define( 'CF7MSM_PLUGIN', __FILE__ );
|
29 |
define( 'CF7MSM_FREE_TEXT_PREFIX_RADIO', '_wpcf7_radio_free_text_' );
|
30 |
define( 'CF7MSM_FREE_TEXT_PREFIX_CHECKBOX', '_wpcf7_checkbox_free_text_' );
|
@@ -156,7 +156,15 @@ function cf7msm_set($var_name, $var_value) {
|
|
156 |
$_SESSION[$var_name] = $var_value;
|
157 |
}
|
158 |
else {
|
159 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
160 |
}
|
161 |
}
|
162 |
|
5 |
Description: Enables the Contact Form 7 plugin to create multi-page, multi-step forms.
|
6 |
Author: Webhead LLC.
|
7 |
Author URI: http://webheadcoder.com
|
8 |
+
Version: 2.25
|
9 |
*/
|
10 |
/* Copyright 2012 Webhead LLC (email: info at webheadcoder.com)
|
11 |
|
24 |
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
25 |
*/
|
26 |
|
27 |
+
define( 'CF7MSM_VERSION', '2.25' );
|
28 |
define( 'CF7MSM_PLUGIN', __FILE__ );
|
29 |
define( 'CF7MSM_FREE_TEXT_PREFIX_RADIO', '_wpcf7_radio_free_text_' );
|
30 |
define( 'CF7MSM_FREE_TEXT_PREFIX_CHECKBOX', '_wpcf7_checkbox_free_text_' );
|
156 |
$_SESSION[$var_name] = $var_value;
|
157 |
}
|
158 |
else {
|
159 |
+
$json_encoded = '';
|
160 |
+
//for php < 5.4
|
161 |
+
if ( defined( 'JSON_UNESCAPED_UNICODE' ) ) {
|
162 |
+
$json_encoded = json_encode( $var_value, JSON_UNESCAPED_UNICODE );
|
163 |
+
}
|
164 |
+
else {
|
165 |
+
$json_encoded = json_encode( $var_value );
|
166 |
+
}
|
167 |
+
setcookie($var_name, $json_encoded, 0, COOKIEPATH, COOKIE_DOMAIN);
|
168 |
}
|
169 |
}
|
170 |
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: webheadllc
|
|
3 |
Donate Link: http://webheadcoder.com/donate-cf7-multi-step-forms
|
4 |
Tags: contact form 7, multistep form, form, multiple pages, store form, contact, multi, step
|
5 |
Requires at least: 4.7
|
6 |
-
Tested up to: 4.
|
7 |
-
Stable tag: 2.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -100,6 +100,10 @@ The `multistep` form tag is a hidden field and tries not to add any spacing to y
|
|
100 |
|
101 |
== Changelog ==
|
102 |
|
|
|
|
|
|
|
|
|
103 |
= 2.24 =
|
104 |
**Contact From 7 version 4.8 or above is required for this version**.
|
105 |
fixed not redirecting to next step on older iPad browsers.
|
3 |
Donate Link: http://webheadcoder.com/donate-cf7-multi-step-forms
|
4 |
Tags: contact form 7, multistep form, form, multiple pages, store form, contact, multi, step
|
5 |
Requires at least: 4.7
|
6 |
+
Tested up to: 4.9.1
|
7 |
+
Stable tag: 2.25
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
100 |
|
101 |
== Changelog ==
|
102 |
|
103 |
+
= 2.25 =
|
104 |
+
**Contact From 7 version 4.8 or above is required for this version**.
|
105 |
+
fixed incompatible JSON_UNESCAPED_UNICODE for PHP versions < 5.4.
|
106 |
+
|
107 |
= 2.24 =
|
108 |
**Contact From 7 version 4.8 or above is required for this version**.
|
109 |
fixed not redirecting to next step on older iPad browsers.
|