Google Captcha (reCAPTCHA) by BestWebSoft - Version 1.33

Version Description

  • 15.11.2017 =
  • Bugfix : Redundant reCAPTHCA checking has been removed.
  • Update : The compatibility with Captcha by BestWebSoft and Contact Form by BestWebSoft plugins has been improved.
Download this release

Release Info

Developer bestwebsoft
Plugin Icon 128x128 Google Captcha (reCAPTCHA) by BestWebSoft
Version 1.33
Comparing to
See all releases

Code changes from version 1.32 to 1.33

google-captcha.php CHANGED
@@ -6,7 +6,7 @@ Description: Protect WordPress website forms from spam entries with Google Captc
6
  Author: BestWebSoft
7
  Text Domain: google-captcha
8
  Domain Path: /languages
9
- Version: 1.32
10
  Author URI: https://bestwebsoft.com/
11
  License: GPLv3 or later
12
  */
6
  Author: BestWebSoft
7
  Text Domain: google-captcha
8
  Domain Path: /languages
9
+ Version: 1.33
10
  Author URI: https://bestwebsoft.com/
11
  License: GPLv3 or later
12
  */
includes/class-gglcptch-settings-tabs.php CHANGED
@@ -242,7 +242,7 @@ if ( ! class_exists( 'Gglcptch_Settings_Tabs' ) ) {
242
  'gglcptch_' . $role,
243
  $role,
244
  checked( ! empty( $this->options[ $role ] ), true, false ),
245
- $fields['name']
246
  );
247
  }
248
  } ?>
242
  'gglcptch_' . $role,
243
  $role,
244
  checked( ! empty( $this->options[ $role ] ), true, false ),
245
+ translate_user_role( $fields['name'] )
246
  );
247
  }
248
  } ?>
includes/forms.php CHANGED
@@ -204,7 +204,7 @@ if ( ! function_exists( 'gglcptch_add_actions' ) ) {
204
 
205
  /* Add Google Captcha to Contact Form by BestWebSoft */
206
  if ( gglcptch_is_recaptcha_required( 'contact_form', $is_user_logged_in ) ) {
207
- add_filter( 'cntctfrm_display_captcha', 'gglcptch_display', 10, 0 );
208
  if ( ! $gglcptch_ip_in_whitelist ) {
209
  add_filter( 'cntctfrm_check_form', 'gglcptch_contact_form_check' );
210
  }
@@ -260,6 +260,9 @@ if ( ! function_exists( 'gglcptch_login_display' ) ) {
260
  if ( ! function_exists( 'gglcptch_login_check' ) ) {
261
  function gglcptch_login_check( $user ) {
262
 
 
 
 
263
  $gglcptch_check = gglcptch_check();
264
 
265
  /* reCAPTCHA is not configured */
204
 
205
  /* Add Google Captcha to Contact Form by BestWebSoft */
206
  if ( gglcptch_is_recaptcha_required( 'contact_form', $is_user_logged_in ) ) {
207
+ add_filter( 'cntctfrm_display_captcha', 'gglcptch_display', 10, 1 );
208
  if ( ! $gglcptch_ip_in_whitelist ) {
209
  add_filter( 'cntctfrm_check_form', 'gglcptch_contact_form_check' );
210
  }
260
  if ( ! function_exists( 'gglcptch_login_check' ) ) {
261
  function gglcptch_login_check( $user ) {
262
 
263
+ if ( is_wp_error( $user ) )
264
+ return $user;
265
+
266
  $gglcptch_check = gglcptch_check();
267
 
268
  /* reCAPTCHA is not configured */
readme.txt CHANGED
@@ -3,16 +3,16 @@ Contributors: bestwebsoft
3
  Donate link: https://bestwebsoft.com/donate/
4
  Tags: anti-spam security, antispam, recaptcha, captcha, captha, Invisible reCaptcha, Invisible captcha, Invisibl reCaptcha, comment, cpatcha, google catcha, Invisible re captcha
5
  Requires at least: 3.9
6
- Tested up to: 4.8.2
7
- Stable tag: 1.32
8
  License: GPLv3 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
11
- Protect WordPress website forms from spam entries with Google reCaptcha.
12
 
13
  == Description ==
14
 
15
- Google Captcha (reCaptcha) plugin is an effective security solution that protects your WordPress website forms from spam entries while letting real people pass through with ease. It can be used for login, registration, password recovery, comments, popular contact forms, and other.
16
 
17
  Users are required to confirm that they are not a robot before the form can be submitted. It's easy for people and hard for bots.
18
 
@@ -40,7 +40,7 @@ http://www.youtube.com/watch?v=qwHsW3IJ7gQ
40
  * Version 2
41
  * Light (default)
42
  * Dark
43
- * Compatible with [Limit Attempts](https://bestwebsoft.com/products/wordpress/plugins/limit-attempts/?k=1b1865c556920231995b35c3ed889415) [NEW]
44
  * Hide Google Captcha (reCAPTCHA) in your forms for certain user roles
45
  * Supports Google Captcha (reCAPTCHA):
46
  * Version 1
@@ -60,21 +60,21 @@ http://www.youtube.com/watch?v=qwHsW3IJ7gQ
60
  > * Contact Form 7 (since v 3.4)
61
  > * [Subscriber](https://bestwebsoft.com/products/wordpress/plugins/subscriber/?k=e6d1742fcf1806a39afac207f7920cf3)
62
  > * [Multilanguage](https://bestwebsoft.com/products/wordpress/plugins/multilanguage/?k=e48e145002e4b2472e568a81d171b888)
63
- > * Jetpack Contact Form [NEW]
64
- > * Fast Secure Contact Form [NEW]
65
  > * Compatible with WooCommerce:
66
  > * Login form
67
  > * Register form
68
  > * Lost password form
69
  > * Checkout billing form
70
- > * Compatible with bbPress: [NEW]
71
  > * New Topic form
72
  > * Reply form
73
  > * Compatible with BuddyPress:
74
  > * Registration form
75
  > * Comments form
76
  > * Create a Group form
77
- > * Compatible with Forums - wpForo: [NEW]
78
  > * Login form
79
  > * Registration form
80
  > * New Topic form
@@ -111,7 +111,7 @@ Some of these translations are not complete. We are constantly adding new featur
111
  = Recommended Plugins =
112
 
113
  * [Updater](https://bestwebsoft.com/products/wordpress/plugins/updater/?k=f47f3eb3d739725d592249dbd129f7ff) - Automatically check and update WordPress website core with all installed plugins and themes to the latest versions.
114
- * [Contact Form](https://bestwebsoft.com/products/wordpress/plugins/contact-form/?k=56575444122cff9ab3ee3e640efb001a) - Allow customers to reach you using secure contact form plugin any website must have.
115
  * [Subscriber](https://bestwebsoft.com/products/wordpress/plugins/subscriber/?k=e6d1742fcf1806a39afac207f7920cf3) - Add email newsletter sign up form to WordPress posts, pages and widgets. Collect data and subscribe your users.
116
  * [Multilanguage](https://bestwebsoft.com/products/wordpress/plugins/multilanguage/?k=e48e145002e4b2472e568a81d171b888) - Translate WordPress website content to other languages manually. Create multilingual pages, posts, widgets, menus, etc.
117
 
@@ -257,6 +257,10 @@ Please make sure that the problem hasn't been discussed yet on our forum (<https
257
 
258
  == Changelog ==
259
 
 
 
 
 
260
  = V1.32 - 13.10.2017 =
261
  * NEW : The compatibility with Limit Attempts by BestWebSoft plugin has been added.
262
  * NEW : Ability to hide Google Captcha for logged in users has been added.
@@ -404,6 +408,10 @@ Please make sure that the problem hasn't been discussed yet on our forum (<https
404
 
405
  == Upgrade Notice ==
406
 
 
 
 
 
407
  = V1.32 =
408
  * The compatibility with Limit Attempts plugin added.
409
  * New features added.
3
  Donate link: https://bestwebsoft.com/donate/
4
  Tags: anti-spam security, antispam, recaptcha, captcha, captha, Invisible reCaptcha, Invisible captcha, Invisibl reCaptcha, comment, cpatcha, google catcha, Invisible re captcha
5
  Requires at least: 3.9
6
+ Tested up to: 4.9
7
+ Stable tag: 1.33
8
  License: GPLv3 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
11
+ Protect WordPress website forms from spam entries with Google reCAPTCHA.
12
 
13
  == Description ==
14
 
15
+ Google Captcha (reCAPTCHA) plugin is an effective security solution that protects your WordPress website forms from spam entries while letting real people pass through with ease. It can be used for login, registration, password recovery, comments, popular contact forms, and other.
16
 
17
  Users are required to confirm that they are not a robot before the form can be submitted. It's easy for people and hard for bots.
18
 
40
  * Version 2
41
  * Light (default)
42
  * Dark
43
+ * Compatible with [Limit Attempts](https://bestwebsoft.com/products/wordpress/plugins/limit-attempts/?k=1b1865c556920231995b35c3ed889415)
44
  * Hide Google Captcha (reCAPTCHA) in your forms for certain user roles
45
  * Supports Google Captcha (reCAPTCHA):
46
  * Version 1
60
  > * Contact Form 7 (since v 3.4)
61
  > * [Subscriber](https://bestwebsoft.com/products/wordpress/plugins/subscriber/?k=e6d1742fcf1806a39afac207f7920cf3)
62
  > * [Multilanguage](https://bestwebsoft.com/products/wordpress/plugins/multilanguage/?k=e48e145002e4b2472e568a81d171b888)
63
+ > * Jetpack Contact Form
64
+ > * Fast Secure Contact Form
65
  > * Compatible with WooCommerce:
66
  > * Login form
67
  > * Register form
68
  > * Lost password form
69
  > * Checkout billing form
70
+ > * Compatible with bbPress:
71
  > * New Topic form
72
  > * Reply form
73
  > * Compatible with BuddyPress:
74
  > * Registration form
75
  > * Comments form
76
  > * Create a Group form
77
+ > * Compatible with Forums - wpForo:
78
  > * Login form
79
  > * Registration form
80
  > * New Topic form
111
  = Recommended Plugins =
112
 
113
  * [Updater](https://bestwebsoft.com/products/wordpress/plugins/updater/?k=f47f3eb3d739725d592249dbd129f7ff) - Automatically check and update WordPress website core with all installed plugins and themes to the latest versions.
114
+ * [Contact Form](https://bestwebsoft.com/products/wordpress/plugins/contact-form/?k=56575444122cff9ab3ee3e640efb001a) - Simple contact form plugin any WordPress website must have.
115
  * [Subscriber](https://bestwebsoft.com/products/wordpress/plugins/subscriber/?k=e6d1742fcf1806a39afac207f7920cf3) - Add email newsletter sign up form to WordPress posts, pages and widgets. Collect data and subscribe your users.
116
  * [Multilanguage](https://bestwebsoft.com/products/wordpress/plugins/multilanguage/?k=e48e145002e4b2472e568a81d171b888) - Translate WordPress website content to other languages manually. Create multilingual pages, posts, widgets, menus, etc.
117
 
257
 
258
  == Changelog ==
259
 
260
+ = V1.33 - 15.11.2017 =
261
+ * Bugfix : Redundant reCAPTHCA checking has been removed.
262
+ * Update : The compatibility with Captcha by BestWebSoft and Contact Form by BestWebSoft plugins has been improved.
263
+
264
  = V1.32 - 13.10.2017 =
265
  * NEW : The compatibility with Limit Attempts by BestWebSoft plugin has been added.
266
  * NEW : Ability to hide Google Captcha for logged in users has been added.
408
 
409
  == Upgrade Notice ==
410
 
411
+ = V1.33 =
412
+ * Bugs fixed.
413
+ * Functionality improved.
414
+
415
  = V1.32 =
416
  * The compatibility with Limit Attempts plugin added.
417
  * New features added.