Constant Contact Forms - Version 1.4.4

Version Description

  • Fixed: Hardened reCAPTCHA and form processing from possible AJAX bypass.
Download this release

Release Info

Developer constantcontact
Plugin Icon 128x128 Constant Contact Forms
Version 1.4.4
Comparing to
See all releases

Code changes from version 1.4.3 to 1.4.4

constant-contact-forms.php CHANGED
@@ -12,7 +12,7 @@
12
  * Plugin Name: Constant Contact Forms for WordPress
13
  * Plugin URI: https://www.constantcontact.com
14
  * Description: Be a better marketer. All it takes is Constant Contact email marketing.
15
- * Version: 1.4.3
16
  * Author: Constant Contact
17
  * Author URI: https://www.constantcontact.com/index?pn=miwordpress
18
  * License: GPLv3
@@ -78,7 +78,7 @@ class Constant_Contact {
78
  * @since 1.0.0
79
  * @var string
80
  */
81
- const VERSION = '1.4.3';
82
 
83
  /**
84
  * URL of plugin directory.
12
  * Plugin Name: Constant Contact Forms for WordPress
13
  * Plugin URI: https://www.constantcontact.com
14
  * Description: Be a better marketer. All it takes is Constant Contact email marketing.
15
+ * Version: 1.4.4
16
  * Author: Constant Contact
17
  * Author URI: https://www.constantcontact.com/index?pn=miwordpress
18
  * License: GPLv3
78
  * @since 1.0.0
79
  * @var string
80
  */
81
+ const VERSION = '1.4.4';
82
 
83
  /**
84
  * URL of plugin directory.
includes/class-process-form.php CHANGED
@@ -233,6 +233,13 @@ class ConstantContact_Process_Form {
233
  }
234
  }
235
 
 
 
 
 
 
 
 
236
  /**
237
  * Filters whether or not we think an entry is spam.
238
  *
233
  }
234
  }
235
 
236
+ if ( $this->plugin->settings->has_recaptcha() && empty( $data['g-recaptcha-response'] ) ) {
237
+ return array(
238
+ 'status' => 'named_error',
239
+ 'error' => __( 'We do no think you are human', 'constant-contact-forms' ),
240
+ );
241
+ }
242
+
243
  /**
244
  * Filters whether or not we think an entry is spam.
245
  *
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: constantcontact
3
  Tags: capture, contacts, constant contact, constant contact form, constant contact newsletter, constant contact official, contact forms, email, form, forms, marketing, mobile, newsletter, opt-in, plugin, signup, subscribe, subscription, widget
4
  Requires at least: 4.0.0
5
- Tested up to: 4.9.8
6
- Stable tag: 1.4.3
7
  License: GPLv3
8
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
9
  Requires PHP: 5.4
@@ -35,6 +35,9 @@ BONUS: If you have a Constant Contact account, all new email addresses that you
35
 
36
  == Changelog ==
37
 
 
 
 
38
  = 1.4.3 =
39
  * Fixed: Persistent spinner on Constant Contact Forms submit button when Google reCAPTCHA is anywhere on the page.
40
  * Fixed: Better messaging around debug logging when unable to write to the intended log file.
2
  Contributors: constantcontact
3
  Tags: capture, contacts, constant contact, constant contact form, constant contact newsletter, constant contact official, contact forms, email, form, forms, marketing, mobile, newsletter, opt-in, plugin, signup, subscribe, subscription, widget
4
  Requires at least: 4.0.0
5
+ Tested up to: 5.0.2
6
+ Stable tag: 1.4.4
7
  License: GPLv3
8
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
9
  Requires PHP: 5.4
35
 
36
  == Changelog ==
37
 
38
+ = 1.4.4 =
39
+ * Fixed: Hardened reCAPTCHA and form processing from possible AJAX bypass.
40
+
41
  = 1.4.3 =
42
  * Fixed: Persistent spinner on Constant Contact Forms submit button when Google reCAPTCHA is anywhere on the page.
43
  * Fixed: Better messaging around debug logging when unable to write to the intended log file.
vendor/CMB2/languages/cmb2-pt_PT.mo.orig DELETED
Binary file