Contact Form 7 - Version 5.1.1

Version Description

  • reCAPTCHA: Modifies the reaction to empty response tokens.
Download this release

Release Info

Developer takayukister
Plugin Icon 128x128 Contact Form 7
Version 5.1.1
Comparing to
See all releases

Code changes from version 5.1 to 5.1.1

Files changed (3) hide show
  1. modules/recaptcha.php +0 -4
  2. readme.txt +9 -1
  3. wp-contact-form-7.php +2 -2
modules/recaptcha.php CHANGED
@@ -108,10 +108,6 @@ function wpcf7_recaptcha_verify_response( $spam ) {
108
$token = isset( $_POST['g-recaptcha-response'] )
109
? trim( $_POST['g-recaptcha-response'] ) : '';
110
111
- if ( ! $token ) {
112
- return $spam;
113
- }
114
-
115
return ! $service->verify( $token );
116
}
117
108
$token = isset( $_POST['g-recaptcha-response'] )
109
? trim( $_POST['g-recaptcha-response'] ) : '';
110
111
return ! $service->verify( $token );
112
}
113
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://contactform7.com/donate/
4
Tags: contact, form, contact form, feedback, email, ajax, captcha, akismet, multilingual
5
Requires at least: 4.9
6
Tested up to: 5.0
7
- Stable tag: 5.1
8
License: GPLv2 or later
9
License URI: https://www.gnu.org/licenses/gpl-2.0.html
10
@@ -75,6 +75,10 @@ Do you have questions or issues with Contact Form 7? Use these support channels
75
76
For more information, see [Releases](https://contactform7.com/category/releases/).
77
78
= 5.1 =
79
80
* Introduces the Constant Contact integration module.
@@ -137,6 +141,10 @@ For more information, see [Releases](https://contactform7.com/category/releases/
137
138
== Upgrade Notice ==
139
140
= 5.0.4 =
141
142
This is a security and maintenance release and we strongly encourage you to update to it immediately. For more information, refer to the [release announcement post](https://contactform7.com/category/releases/).
4
Tags: contact, form, contact form, feedback, email, ajax, captcha, akismet, multilingual
5
Requires at least: 4.9
6
Tested up to: 5.0
7
+ Stable tag: 5.1.1
8
License: GPLv2 or later
9
License URI: https://www.gnu.org/licenses/gpl-2.0.html
10
75
76
For more information, see [Releases](https://contactform7.com/category/releases/).
77
78
+ = 5.1.1 =
79
+
80
+ * reCAPTCHA: Modifies the reaction to empty response tokens.
81
+
82
= 5.1 =
83
84
* Introduces the Constant Contact integration module.
141
142
== Upgrade Notice ==
143
144
+ = 5.1.1 =
145
+
146
+ Read the [release announcement post](https://contactform7.com/category/releases/) before upgrading. There is an important notice.
147
+
148
= 5.0.4 =
149
150
This is a security and maintenance release and we strongly encourage you to update to it immediately. For more information, refer to the [release announcement post](https://contactform7.com/category/releases/).
wp-contact-form-7.php CHANGED
@@ -7,10 +7,10 @@ Author: Takayuki Miyoshi
7
Author URI: https://ideasilo.wordpress.com/
8
Text Domain: contact-form-7
9
Domain Path: /languages/
10
- Version: 5.1
11
*/
12
13
- define( 'WPCF7_VERSION', '5.1' );
14
15
define( 'WPCF7_REQUIRED_WP_VERSION', '4.9' );
16
7
Author URI: https://ideasilo.wordpress.com/
8
Text Domain: contact-form-7
9
Domain Path: /languages/
10
+ Version: 5.1.1
11
*/
12
13
+ define( 'WPCF7_VERSION', '5.1.1' );
14
15
define( 'WPCF7_REQUIRED_WP_VERSION', '4.9' );
16