Version Description
- fixed PHP notice thanks to @natalia_c https://wordpress.org/support/topic/php-notice-80
Download this release
Release Info
Developer | Jules Colle |
Plugin | Conditional Fields for Contact Form 7 |
Version | 0.1.5 |
Comparing to | |
See all releases |
Code changes from version 0.1.4 to 0.1.5
- contact-form-7-conditional-fields.php +5 -5
- readme.txt +5 -2
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: 0.1.
|
8 |
Author URI: http://bdwm.be/
|
9 |
*/
|
10 |
|
@@ -26,7 +26,7 @@ Author URI: http://bdwm.be/
|
|
26 |
?>
|
27 |
<?php
|
28 |
|
29 |
-
define( 'WPCF7CF_VERSION', '0.1.
|
30 |
define( 'WPCF7CF_REQUIRED_WP_VERSION', '4.1' );
|
31 |
define( 'WPCF7CF_PLUGIN', __FILE__ );
|
32 |
define( 'WPCF7CF_PLUGIN_BASENAME', plugin_basename( WPCF7CF_PLUGIN ) );
|
@@ -180,12 +180,12 @@ function wpcf7cf_enqueue_scripts($cf7form) {
|
|
180 |
global $global_count, $post;
|
181 |
$global_count++;
|
182 |
|
183 |
-
$unit_tag = 'wpcf7-f'.$cf7form->id.'-p'.$post->ID.'-o'.$global_count;
|
184 |
|
185 |
$options = array(
|
186 |
-
'form_id' => $cf7form->id,
|
187 |
'unit_tag' => $unit_tag,
|
188 |
-
'conditions' => get_post_meta($cf7form->id,'wpcf7cf_options', true),
|
189 |
);
|
190 |
|
191 |
wp_enqueue_script('cf7cf-scripts', plugins_url('js/scripts.js', __FILE__), array('jquery'), WPCF7CF_VERSION, true);
|
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: 0.1.5
|
8 |
Author URI: http://bdwm.be/
|
9 |
*/
|
10 |
|
26 |
?>
|
27 |
<?php
|
28 |
|
29 |
+
define( 'WPCF7CF_VERSION', '0.1.5' );
|
30 |
define( 'WPCF7CF_REQUIRED_WP_VERSION', '4.1' );
|
31 |
define( 'WPCF7CF_PLUGIN', __FILE__ );
|
32 |
define( 'WPCF7CF_PLUGIN_BASENAME', plugin_basename( WPCF7CF_PLUGIN ) );
|
180 |
global $global_count, $post;
|
181 |
$global_count++;
|
182 |
|
183 |
+
$unit_tag = 'wpcf7-f'.$cf7form->id().'-p'.$post->ID.'-o'.$global_count;
|
184 |
|
185 |
$options = array(
|
186 |
+
'form_id' => $cf7form->id(),
|
187 |
'unit_tag' => $unit_tag,
|
188 |
+
'conditions' => get_post_meta($cf7form->id(),'wpcf7cf_options', true),
|
189 |
);
|
190 |
|
191 |
wp_enqueue_script('cf7cf-scripts', plugins_url('js/scripts.js', __FILE__), array('jquery'), WPCF7CF_VERSION, true);
|
readme.txt
CHANGED
@@ -5,8 +5,8 @@ Author: Jules Colle
|
|
5 |
Website: http://bdwm.be
|
6 |
Tags: wordpress, contact form 7, forms, conditional fields
|
7 |
Requires at least: 3.6.1
|
8 |
-
Tested up to: 4.5.
|
9 |
-
Stable tag: 0.1.
|
10 |
License: GPLv2 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
@@ -39,6 +39,9 @@ Because no questions have been asked frequently about this plugin.
|
|
39 |
|
40 |
== Changelog ==
|
41 |
|
|
|
|
|
|
|
42 |
= 0.1.4 =
|
43 |
|
44 |
* Prevent conflicts between different forms on one page.
|
5 |
Website: http://bdwm.be
|
6 |
Tags: wordpress, contact form 7, forms, conditional fields
|
7 |
Requires at least: 3.6.1
|
8 |
+
Tested up to: 4.5.3
|
9 |
+
Stable tag: 0.1.5
|
10 |
License: GPLv2 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
39 |
|
40 |
== Changelog ==
|
41 |
|
42 |
+
= 0.1.5 =
|
43 |
+
* fixed PHP notice thanks to @natalia_c https://wordpress.org/support/topic/php-notice-80
|
44 |
+
|
45 |
= 0.1.4 =
|
46 |
|
47 |
* Prevent conflicts between different forms on one page.
|