Contact Form 7 Multi-Step Forms - Version 3.0.4

Version Description

deprecated wpcf7_form_field_value filters.
added cf7msm_form_field_value filters.

Download this release

Release Info

Developer webheadllc
Plugin Icon 128x128 Contact Form 7 Multi-Step Forms
Version 3.0.4
Comparing to
See all releases

Code changes from version 3.0.3 to 3.0.4

contact-form-7-multi-step-module.php CHANGED
@@ -6,7 +6,7 @@ Plugin URI: http://www.mymonkeydo.com/contact-form-7-multi-step-module/
6
  Description: Enables the Contact Form 7 plugin to create multi-page, multi-step forms.
7
  Author: Webhead LLC.
8
  Author URI: http://webheadcoder.com
9
- Version: 3.0.3
10
  Text Domain: contact-form-7-multi-step-module
11
  */
12
  /* Copyright 2018 Webhead LLC (email: info at webheadcoder.com)
@@ -62,7 +62,7 @@ if ( !function_exists( 'cf7msm_fs' ) ) {
62
  cf7msm_fs();
63
  // Signal that SDK was initiated.
64
  do_action( 'cf7msm_fs_loaded' );
65
- define( 'CF7MSM_VERSION', '3.0.3' );
66
  define( 'CF7MSM_PLUGIN', __FILE__ );
67
  define( 'CF7MSM_FREE_TEXT_PREFIX_RADIO', '_wpcf7_radio_free_text_' );
68
  define( 'CF7MSM_FREE_TEXT_PREFIX_CHECKBOX', '_wpcf7_checkbox_free_text_' );
6
  Description: Enables the Contact Form 7 plugin to create multi-page, multi-step forms.
7
  Author: Webhead LLC.
8
  Author URI: http://webheadcoder.com
9
+ Version: 3.0.4
10
  Text Domain: contact-form-7-multi-step-module
11
  */
12
  /* Copyright 2018 Webhead LLC (email: info at webheadcoder.com)
62
  cf7msm_fs();
63
  // Signal that SDK was initiated.
64
  do_action( 'cf7msm_fs_loaded' );
65
+ define( 'CF7MSM_VERSION', '3.0.4' );
66
  define( 'CF7MSM_PLUGIN', __FILE__ );
67
  define( 'CF7MSM_FREE_TEXT_PREFIX_RADIO', '_wpcf7_radio_free_text_' );
68
  define( 'CF7MSM_FREE_TEXT_PREFIX_CHECKBOX', '_wpcf7_checkbox_free_text_' );
form-tags/module-session.php CHANGED
@@ -112,10 +112,23 @@ function cf7msm_multiform_shortcode_handler( $tag )
112
  if ( is_array( $value ) ) {
113
  $value = implode( ", ", $value );
114
  }
115
- $value = apply_filters(
 
116
  'wpcf7_form_field_value',
117
- apply_filters( 'wpcf7_form_field_value_' . $id_att, $value ),
 
 
 
 
 
 
 
 
 
 
 
118
  $field_name,
 
119
  $value
120
  );
121
  return $value;
112
  if ( is_array( $value ) ) {
113
  $value = implode( ", ", $value );
114
  }
115
+ //wpcf7_form_field_value filter deprecated
116
+ $value = apply_filters_deprecated(
117
  'wpcf7_form_field_value',
118
+ array( apply_filters_deprecated(
119
+ 'wpcf7_form_field_value_' . $id_att,
120
+ array( $value ),
121
+ '3.0.4',
122
+ 'cf7msm_form_field_value_' . $id_att
123
+ ), $field_name, $value ),
124
+ '3.0.4',
125
+ 'cf7msm_form_field_value'
126
+ );
127
+ $value = apply_filters(
128
+ 'cf7msm_form_field_value',
129
+ apply_filters( 'cf7msm_form_field_value_' . $id_att, $value ),
130
  $field_name,
131
+ $id_att,
132
  $value
133
  );
134
  return $value;
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate Link: https://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.4
7
- Stable tag: 3.0.3
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -101,6 +101,10 @@ The `multistep` form tag is a hidden field and tries not to add any spacing to y
101
 
102
  == Changelog ==
103
 
 
 
 
 
104
  = 3.0.3 =
105
  PRO: fixed conditional fields (from the Conditional Fields for Contact Form 7 plugin) not showing in email.
106
 
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.4
7
+ Stable tag: 3.0.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
101
 
102
  == Changelog ==
103
 
104
+ = 3.0.4 =
105
+ deprecated wpcf7_form_field_value filters.
106
+ added cf7msm_form_field_value filters.
107
+
108
  = 3.0.3 =
109
  PRO: fixed conditional fields (from the Conditional Fields for Contact Form 7 plugin) not showing in email.
110