Version Description
- small fix (https://wordpress.org/support/topic/wpcf7_contactform-object-is-no-longer-accessible/)
Download this release
Release Info
Developer | Jules Colle |
Plugin | Conditional Fields for Contact Form 7 |
Version | 1.3.4 |
Comparing to | |
See all releases |
Code changes from version 1.3.3 to 1.3.4
- cf7cf.php +1 -1
- contact-form-7-conditional-fields.php +2 -2
- readme.txt +4 -1
cf7cf.php
CHANGED
@@ -291,7 +291,7 @@ add_action('wpcf7_form_hidden_fields', 'wpcf7cf_form_hidden_fields',10,1);
|
|
291 |
function wpcf7cf_form_hidden_fields($hidden_fields) {
|
292 |
|
293 |
$current_form = wpcf7_get_current_contact_form();
|
294 |
-
$current_form_id = $current_form->id;
|
295 |
|
296 |
$options = array(
|
297 |
'form_id' => $current_form_id,
|
291 |
function wpcf7cf_form_hidden_fields($hidden_fields) {
|
292 |
|
293 |
$current_form = wpcf7_get_current_contact_form();
|
294 |
+
$current_form_id = $current_form->id();
|
295 |
|
296 |
$options = array(
|
297 |
'form_id' => $current_form_id,
|
contact-form-7-conditional-fields.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Contact Form 7 Conditional Fields
|
|
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: 1.3.
|
8 |
Author URI: http://bdwm.be/
|
9 |
*/
|
10 |
|
@@ -24,7 +24,7 @@ Author URI: http://bdwm.be/
|
|
24 |
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
25 |
*/
|
26 |
|
27 |
-
if (!defined('WPCF7CF_VERSION')) define( 'WPCF7CF_VERSION', '1.3.
|
28 |
if (!defined('WPCF7CF_REQUIRED_WP_VERSION')) define( 'WPCF7CF_REQUIRED_WP_VERSION', '4.1' );
|
29 |
if (!defined('WPCF7CF_PLUGIN')) define( 'WPCF7CF_PLUGIN', __FILE__ );
|
30 |
if (!defined('WPCF7CF_PLUGIN_BASENAME')) define( 'WPCF7CF_PLUGIN_BASENAME', plugin_basename( WPCF7CF_PLUGIN ) );
|
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: 1.3.4
|
8 |
Author URI: http://bdwm.be/
|
9 |
*/
|
10 |
|
24 |
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
25 |
*/
|
26 |
|
27 |
+
if (!defined('WPCF7CF_VERSION')) define( 'WPCF7CF_VERSION', '1.3.4' );
|
28 |
if (!defined('WPCF7CF_REQUIRED_WP_VERSION')) define( 'WPCF7CF_REQUIRED_WP_VERSION', '4.1' );
|
29 |
if (!defined('WPCF7CF_PLUGIN')) define( 'WPCF7CF_PLUGIN', __FILE__ );
|
30 |
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: 4.1
|
8 |
Tested up to: 4.9
|
9 |
-
Stable tag: 1.3.
|
10 |
License: GPLv2 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
@@ -148,6 +148,9 @@ if [b] not equals "2" then show [x-2]`
|
|
148 |
|
149 |
== Changelog ==
|
150 |
|
|
|
|
|
|
|
151 |
= 1.3.3 =
|
152 |
* Changes tested with WP 4.7.5 and CF7 4.8
|
153 |
* Changed the inner mechanics a bit to make the plugin more edge-case proof and prepare for future ajax support
|
6 |
Tags: wordpress, contact form 7, forms, conditional fields
|
7 |
Requires at least: 4.1
|
8 |
Tested up to: 4.9
|
9 |
+
Stable tag: 1.3.4
|
10 |
License: GPLv2 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
148 |
|
149 |
== Changelog ==
|
150 |
|
151 |
+
= 1.3.4 =
|
152 |
+
* small fix (https://wordpress.org/support/topic/wpcf7_contactform-object-is-no-longer-accessible/)
|
153 |
+
|
154 |
= 1.3.3 =
|
155 |
* Changes tested with WP 4.7.5 and CF7 4.8
|
156 |
* Changed the inner mechanics a bit to make the plugin more edge-case proof and prepare for future ajax support
|