Version Description
Use Contact Form 7's built-in hidden form tag if version 4.6 or above is present.
Download this release
Release Info
Developer | webheadllc |
Plugin | Contact Form 7 Multi-Step Forms |
Version | 2.1 |
Comparing to | |
See all releases |
Code changes from version 2.0.9 to 2.1
- contact-form-7-multi-step-module.php +6 -2
- readme.txt +4 -1
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.0.9
|
|
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_' );
|
@@ -93,6 +93,10 @@ add_action( 'admin_enqueue_scripts', 'cf7msm_admin_enqueue_scripts' );
|
|
93 |
* Load modules after plugins loaded to check for hidden module.
|
94 |
*/
|
95 |
function cf7msm_load_modules() {
|
|
|
|
|
|
|
|
|
96 |
$active_plugins = get_option( 'active_plugins', array() );
|
97 |
if (!in_array('contact-form-7-modules/hidden.php', $active_plugins) && !in_array('contact-form-7-3rd-party-integration/hidden.php', $active_plugins)) {
|
98 |
//hack to let contact-form-7-modules be activated.
|
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.1
|
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.1' );
|
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_' );
|
93 |
* Load modules after plugins loaded to check for hidden module.
|
94 |
*/
|
95 |
function cf7msm_load_modules() {
|
96 |
+
if( version_compare( WPCF7_VERSION, '4.6' , '>=' ) ) {
|
97 |
+
// cf7 4.6 has hidden field implemented.
|
98 |
+
return;
|
99 |
+
}
|
100 |
$active_plugins = get_option( 'active_plugins', array() );
|
101 |
if (!in_array('contact-form-7-modules/hidden.php', $active_plugins) && !in_array('contact-form-7-3rd-party-integration/hidden.php', $active_plugins)) {
|
102 |
//hack to let contact-form-7-modules be activated.
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ 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.5
|
6 |
Tested up to: 4.7.2
|
7 |
-
Stable tag: 2.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -98,6 +98,9 @@ The `multistep` form tag is a hidden field and tries not to add any spacing to y
|
|
98 |
|
99 |
== Changelog ==
|
100 |
|
|
|
|
|
|
|
101 |
= 2.0.9 =
|
102 |
fixed issue where using the `[multiform]` tag causes the field to blank out and not show in emails on certain servers.
|
103 |
|
4 |
Tags: contact form 7, multistep form, form, multiple pages, store form, contact, multi, step
|
5 |
Requires at least: 4.5
|
6 |
Tested up to: 4.7.2
|
7 |
+
Stable tag: 2.1
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
98 |
|
99 |
== Changelog ==
|
100 |
|
101 |
+
= 2.1 =
|
102 |
+
Use Contact Form 7's built-in hidden form tag if version 4.6 or above is present.
|
103 |
+
|
104 |
= 2.0.9 =
|
105 |
fixed issue where using the `[multiform]` tag causes the field to blank out and not show in emails on certain servers.
|
106 |
|