Contact Form Clean and Simple - Version 4.2.5

Version Description

  • Fixed bug that caused a PHP notice to be generated when 'Confirm Email Message' option is switched off. Thanks to MarrsAttax
Download this release

Release Info

Developer megnicholas
Plugin Icon wp plugin Contact Form Clean and Simple
Version 4.2.5
Comparing to
See all releases

Code changes from version 4.2.4 to 4.2.5

class.cscf_contact.php CHANGED
@@ -30,7 +30,9 @@ class cscf_Contact
30
  $cscf = $_POST['cscf'];
31
  $this->Name = filter_var($cscf['name'], FILTER_SANITIZE_STRING,FILTER_FLAG_NO_ENCODE_QUOTES);
32
  $this->Email = filter_var($cscf['email'], FILTER_SANITIZE_EMAIL);
33
- $this->ConfirmEmail = filter_var($cscf['confirm-email'], FILTER_SANITIZE_EMAIL);
 
 
34
  $this->Message = filter_var($cscf['message'], FILTER_SANITIZE_STRING,FILTER_FLAG_NO_ENCODE_QUOTES);
35
  unset($_POST['cscf']);
36
  }
30
  $cscf = $_POST['cscf'];
31
  $this->Name = filter_var($cscf['name'], FILTER_SANITIZE_STRING,FILTER_FLAG_NO_ENCODE_QUOTES);
32
  $this->Email = filter_var($cscf['email'], FILTER_SANITIZE_EMAIL);
33
+ if ( isset($cscf['confirm-email']) ) {
34
+ $this->ConfirmEmail = filter_var($cscf['confirm-email'], FILTER_SANITIZE_EMAIL);
35
+ }
36
  $this->Message = filter_var($cscf['message'], FILTER_SANITIZE_STRING,FILTER_FLAG_NO_ENCODE_QUOTES);
37
  unset($_POST['cscf']);
38
  }
clean-and-simple-contact-form-by-meg-nicholas.php CHANGED
@@ -7,7 +7,7 @@
7
  Plugin Name: Clean and Simple Contact Form
8
  Plugin URI: http://www.megnicholas.co.uk/wordpress-plugins/clean-and-simple-contact-form
9
  Description: A clean and simple contact form with Google reCAPTCHA and Twitter Bootstrap markup.
10
- Version: 4.2.4
11
  Author: Meghan Nicholas
12
  Author URI: http://www.megnicholas.co.uk
13
  License: GPLv2 or later
@@ -52,7 +52,7 @@ if (!defined('CSCF_PLUGIN_URL')) define('CSCF_PLUGIN_URL', WP_PLUGIN_URL . '/' .
52
 
53
  if (!defined('CSCF_VERSION_KEY')) define('CSCF_VERSION_KEY', 'cscf_version');
54
 
55
- if (!defined('CSCF_VERSION_NUM')) define('CSCF_VERSION_NUM', '4.2.4');
56
 
57
  if (!defined('CSCF_OPTIONS_KEY')) define('CSCF_OPTIONS_KEY', 'cscf_options');
58
 
7
  Plugin Name: Clean and Simple Contact Form
8
  Plugin URI: http://www.megnicholas.co.uk/wordpress-plugins/clean-and-simple-contact-form
9
  Description: A clean and simple contact form with Google reCAPTCHA and Twitter Bootstrap markup.
10
+ Version: 4.2.5
11
  Author: Meghan Nicholas
12
  Author URI: http://www.megnicholas.co.uk
13
  License: GPLv2 or later
52
 
53
  if (!defined('CSCF_VERSION_KEY')) define('CSCF_VERSION_KEY', 'cscf_version');
54
 
55
+ if (!defined('CSCF_VERSION_NUM')) define('CSCF_VERSION_NUM', '4.2.5');
56
 
57
  if (!defined('CSCF_OPTIONS_KEY')) define('CSCF_OPTIONS_KEY', 'cscf_options');
58
 
readme.txt CHANGED
@@ -6,7 +6,7 @@ License URI: http://www.gnu.org/licenses/gpl.html
6
  Tags: simple, contact, form, contact button, contact form, contact form plugin, contacts, contacts form plugin, contact me, feedback form, bootstrap, twitter, google, reCAPTCHA, ajax, secure
7
  Requires at least: 3.3
8
  Tested up to: 3.7.1
9
- Stable tag: 4.2.4
10
 
11
  A clean and simple AJAX contact form with Google reCAPTCHA and Twitter Bootstrap markup.
12
 
@@ -187,6 +187,9 @@ the reCAPTCHA for the contact form will be displayed correctly but not in the co
187
  The comments form will never validate due to no supplied reCAPTCHA code.
188
 
189
  == Changelog ==
 
 
 
190
  = 4.2.4 =
191
  * The requirement for users to confirm their email address is now optional.
192
  When turned off users only need to enter their email address once.
@@ -273,6 +276,8 @@ Polish thanks to Patryk Peas
273
 
274
 
275
  == Upgrade Notice ==
 
 
276
  = 4.2.4 =
277
  'Confirm Email' can now be turned off. Arabic translation added.
278
  = 4.2.3 =
6
  Tags: simple, contact, form, contact button, contact form, contact form plugin, contacts, contacts form plugin, contact me, feedback form, bootstrap, twitter, google, reCAPTCHA, ajax, secure
7
  Requires at least: 3.3
8
  Tested up to: 3.7.1
9
+ Stable tag: 4.2.5
10
 
11
  A clean and simple AJAX contact form with Google reCAPTCHA and Twitter Bootstrap markup.
12
 
187
  The comments form will never validate due to no supplied reCAPTCHA code.
188
 
189
  == Changelog ==
190
+ = 4.2.5 =
191
+ * Fixed bug that caused a PHP notice to be generated when 'Confirm Email Message' option is switched off.
192
+ Thanks to MarrsAttax
193
  = 4.2.4 =
194
  * The requirement for users to confirm their email address is now optional.
195
  When turned off users only need to enter their email address once.
276
 
277
 
278
  == Upgrade Notice ==
279
+ = 4.2.5 =
280
+ Small bug fix
281
  = 4.2.4 =
282
  'Confirm Email' can now be turned off. Arabic translation added.
283
  = 4.2.3 =