Google Captcha (reCAPTCHA) by BestWebSoft - Version 1.62

Version Description

  • 14.05.2021 =
  • Update : All functionality was updated for WordPress 5.7.2.
  • Bugfix : The issue of sending a password reset link on the user edit page has been fixed.
  • Pro : The issue with submitting Contact 7 form with empty recaptcha has been fixed.
  • Pro : The issue with displaying recaptcha in the form of creating a new topic and in the reply form has been fixed.
  • Pro : The compatibility with WPForms has been added.
Download this release

Release Info

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

Code changes from version 1.61 to 1.62

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.61
10
  Author URI: https://bestwebsoft.com/
11
  License: GPLv3 or later
12
  */
@@ -93,7 +93,7 @@ if ( ! function_exists( 'gglcptch_plugins_loaded' ) ) {
93
 
94
  if ( ! function_exists( 'gglcptch_init' ) ) {
95
  function gglcptch_init() {
96
- global $gglcptch_plugin_info, $gglcptch_options;
97
 
98
  require_once( dirname( __FILE__ ) . '/bws_menu/bws_include.php' );
99
  bws_include_init( plugin_basename( __FILE__ ) );
@@ -108,7 +108,9 @@ if ( ! function_exists( 'gglcptch_init' ) ) {
108
  /* Function check if plugin is compatible with current WP version */
109
  bws_wp_min_version_check( plugin_basename( __FILE__ ), $gglcptch_plugin_info, '4.5' );
110
 
111
- $is_admin = is_admin() && ! defined( 'DOING_AJAX' );
 
 
112
  /* Call register settings function */
113
  if ( ! $is_admin || ( isset( $_GET['page'] ) && 'google-captcha.php' == $_GET['page'] ) ) {
114
  register_gglcptch_settings();
6
  Author: BestWebSoft
7
  Text Domain: google-captcha
8
  Domain Path: /languages
9
+ Version: 1.62
10
  Author URI: https://bestwebsoft.com/
11
  License: GPLv3 or later
12
  */
93
 
94
  if ( ! function_exists( 'gglcptch_init' ) ) {
95
  function gglcptch_init() {
96
+ global $gglcptch_plugin_info, $gglcptch_options, $pagenow;
97
 
98
  require_once( dirname( __FILE__ ) . '/bws_menu/bws_include.php' );
99
  bws_include_init( plugin_basename( __FILE__ ) );
108
  /* Function check if plugin is compatible with current WP version */
109
  bws_wp_min_version_check( plugin_basename( __FILE__ ), $gglcptch_plugin_info, '4.5' );
110
 
111
+ $is_user_edit_page = isset( $pagenow ) && 'user-edit.php' == $pagenow;
112
+ $is_admin = is_admin() && ( ! defined( 'DOING_AJAX' ) || ! $is_user_edit_page );
113
+
114
  /* Call register settings function */
115
  if ( ! $is_admin || ( isset( $_GET['page'] ) && 'google-captcha.php' == $_GET['page'] ) ) {
116
  register_gglcptch_settings();
includes/class-gglcptch-settings-tabs.php CHANGED
@@ -275,7 +275,7 @@ if ( ! class_exists( 'Gglcptch_Settings_Tabs' ) ) {
275
  <?php } ?>
276
  <!-- end pls -->
277
 
278
- <div class="bws_tab_sub_label"><?php _e( 'Appearence', 'google-captcha' ); ?></div>
279
  <table class="form-table">
280
  <tr class="gglcptch_theme_v2" valign="top">
281
  <th scope="row">
@@ -295,7 +295,7 @@ if ( ! class_exists( 'Gglcptch_Settings_Tabs' ) ) {
295
  <div class="bws_pro_version_table_bloc">
296
  <button type="submit" name="bws_hide_premium_options" class="notice-dismiss bws_hide_premium_options" title="<?php _e( 'Close', 'google-captcha' ); ?>"></button>
297
  <div class="bws_table_bg"></div>
298
- <?php gglcptch_additional_settings_banner_appearence(); ?>
299
  </div>
300
  <?php $this->bws_pro_block_links(); ?>
301
  </div>
275
  <?php } ?>
276
  <!-- end pls -->
277
 
278
+ <div class="bws_tab_sub_label"><?php _e( 'Appearance', 'google-captcha' ); ?></div>
279
  <table class="form-table">
280
  <tr class="gglcptch_theme_v2" valign="top">
281
  <th scope="row">
295
  <div class="bws_pro_version_table_bloc">
296
  <button type="submit" name="bws_hide_premium_options" class="notice-dismiss bws_hide_premium_options" title="<?php _e( 'Close', 'google-captcha' ); ?>"></button>
297
  <div class="bws_table_bg"></div>
298
+ <?php gglcptch_additional_settings_banner_appearance(); ?>
299
  </div>
300
  <?php $this->bws_pro_block_links(); ?>
301
  </div>
includes/pro_banners.php CHANGED
@@ -69,7 +69,8 @@ if ( ! function_exists( 'gglcptch_supported_plugins_banner' ) ) {
69
  'ninja_form' => array( 'form_name' => __( 'Ninja Forms', 'google-captcha' ) ),
70
  'divi_contact_form' => array( 'form_name' => __( 'Divi Contact Form', 'google-captcha' ) ),
71
  'divi_login' => array( 'form_name' => __( 'Divi Login Form', 'google-captcha' ) ),
72
- 'gravity_forms' => array( 'form_name' => __( 'Gravity Forms', 'google-captcha' ) )
 
73
  );
74
  $pro_sections = array(
75
  'external' => array(
@@ -82,6 +83,7 @@ if ( ! function_exists( 'gglcptch_supported_plugins_banner' ) ) {
82
  'sbscrbr',
83
  'mailchimp',
84
  'ninja_form',
 
85
  )
86
  ),
87
  'woocommerce' => array(
@@ -183,8 +185,8 @@ if ( ! function_exists( 'gglcptch_additional_settings_banner_general' ) ) {
183
  <?php }
184
  }
185
 
186
- if ( ! function_exists( 'gglcptch_additional_settings_banner_appearence' ) ) {
187
- function gglcptch_additional_settings_banner_appearence() { ?>
188
  <table class="form-table bws_pro_version">
189
  <tr class="gglcptch_theme_v2" valign="top">
190
  <th scope="row">
69
  'ninja_form' => array( 'form_name' => __( 'Ninja Forms', 'google-captcha' ) ),
70
  'divi_contact_form' => array( 'form_name' => __( 'Divi Contact Form', 'google-captcha' ) ),
71
  'divi_login' => array( 'form_name' => __( 'Divi Login Form', 'google-captcha' ) ),
72
+ 'gravity_forms' => array( 'form_name' => __( 'Gravity Forms', 'google-captcha' ) ),
73
+ 'wpforms' => array( 'form_name' => __( 'WPForms', 'google-captcha' ) )
74
  );
75
  $pro_sections = array(
76
  'external' => array(
83
  'sbscrbr',
84
  'mailchimp',
85
  'ninja_form',
86
+ 'wpforms'
87
  )
88
  ),
89
  'woocommerce' => array(
185
  <?php }
186
  }
187
 
188
+ if ( ! function_exists( 'gglcptch_additional_settings_banner_appearance' ) ) {
189
+ function gglcptch_additional_settings_banner_appearance() { ?>
190
  <table class="form-table bws_pro_version">
191
  <tr class="gglcptch_theme_v2" valign="top">
192
  <th scope="row">
languages/google-captcha-ru_RU.mo CHANGED
Binary file
languages/google-captcha-ru_RU.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: reCaptcha\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2021-04-06 09:43+0300\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: bestwebsoft.com <plugin@bestwebsoft.com>\n"
8
  "Language-Team: the BestWebSoft Team <plugin@bestwebsoft.com>\n"
@@ -350,7 +350,7 @@ msgstr ""
350
  "Если Google недоступен или заблокирован в вашей стране выберите другой пункт."
351
 
352
  #: includes/class-gglcptch-settings-tabs.php:278
353
- msgid "Appearence"
354
  msgstr "Внешний Вид"
355
 
356
  #: includes/class-gglcptch-settings-tabs.php:282
@@ -467,7 +467,7 @@ msgstr "Testimonials"
467
  msgid "WordPress default"
468
  msgstr "Стандартных форм WordPress"
469
 
470
- #: includes/forms.php:47 includes/pro_banners.php:76
471
  msgid "External Plugins"
472
  msgstr "Внешние плагины"
473
 
@@ -595,15 +595,19 @@ msgstr "Форма логина плагина Divi"
595
  msgid "Gravity Forms"
596
  msgstr "Gravity Forms"
597
 
598
- #: includes/pro_banners.php:168
 
 
 
 
599
  msgid "Language"
600
  msgstr "Язык"
601
 
602
- #: includes/pro_banners.php:176
603
  msgid "Multilanguage"
604
  msgstr "Multilanguage"
605
 
606
- #: includes/pro_banners.php:179
607
  msgid ""
608
  "Enable to switch language automatically on multilingual website using the "
609
  "Multilanguage plugin."
@@ -611,15 +615,15 @@ msgstr ""
611
  "Включить, чтобы переключить язык автоматически на многоязычном сайте, "
612
  "используя плагин Multilanguage."
613
 
614
- #: includes/pro_banners.php:191
615
  msgid "Size"
616
  msgstr "Размер"
617
 
618
- #: includes/pro_banners.php:195
619
  msgid "Normal"
620
  msgstr "Нормальный"
621
 
622
- #: includes/pro_banners.php:196
623
  msgid "Compact"
624
  msgstr "Компактный"
625
 
2
  msgstr ""
3
  "Project-Id-Version: reCaptcha\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2021-04-21 11:10+0300\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: bestwebsoft.com <plugin@bestwebsoft.com>\n"
8
  "Language-Team: the BestWebSoft Team <plugin@bestwebsoft.com>\n"
350
  "Если Google недоступен или заблокирован в вашей стране выберите другой пункт."
351
 
352
  #: includes/class-gglcptch-settings-tabs.php:278
353
+ msgid "Appearance"
354
  msgstr "Внешний Вид"
355
 
356
  #: includes/class-gglcptch-settings-tabs.php:282
467
  msgid "WordPress default"
468
  msgstr "Стандартных форм WordPress"
469
 
470
+ #: includes/forms.php:47 includes/pro_banners.php:77
471
  msgid "External Plugins"
472
  msgstr "Внешние плагины"
473
 
595
  msgid "Gravity Forms"
596
  msgstr "Gravity Forms"
597
 
598
+ #: includes/pro_banners.php:73
599
+ msgid "WPForms"
600
+ msgstr "WPForms"
601
+
602
+ #: includes/pro_banners.php:170
603
  msgid "Language"
604
  msgstr "Язык"
605
 
606
+ #: includes/pro_banners.php:178
607
  msgid "Multilanguage"
608
  msgstr "Multilanguage"
609
 
610
+ #: includes/pro_banners.php:181
611
  msgid ""
612
  "Enable to switch language automatically on multilingual website using the "
613
  "Multilanguage plugin."
615
  "Включить, чтобы переключить язык автоматически на многоязычном сайте, "
616
  "используя плагин Multilanguage."
617
 
618
+ #: includes/pro_banners.php:193
619
  msgid "Size"
620
  msgstr "Размер"
621
 
622
+ #: includes/pro_banners.php:197
623
  msgid "Normal"
624
  msgstr "Нормальный"
625
 
626
+ #: includes/pro_banners.php:198
627
  msgid "Compact"
628
  msgstr "Компактный"
629
 
languages/google-captcha-uk.mo CHANGED
Binary file
languages/google-captcha-uk.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: reCaptcha\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2021-04-06 09:45+0300\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: bestwebsoft.com <plugin@bestwebsoft.com>\n"
8
  "Language-Team: the BestWebSoft Team <plugin@bestwebsoft.com>\n"
@@ -350,7 +350,7 @@ msgstr ""
350
  "пункт."
351
 
352
  #: includes/class-gglcptch-settings-tabs.php:278
353
- msgid "Appearence"
354
  msgstr "Зовнішній Вигляд"
355
 
356
  #: includes/class-gglcptch-settings-tabs.php:282
@@ -467,7 +467,7 @@ msgstr "Testimonials"
467
  msgid "WordPress default"
468
  msgstr "Стандартних форм WordPress"
469
 
470
- #: includes/forms.php:47 includes/pro_banners.php:76
471
  msgid "External Plugins"
472
  msgstr "Зовнішні плагіни"
473
 
@@ -595,15 +595,19 @@ msgstr "Форма логіну плагіна Divi"
595
  msgid "Gravity Forms"
596
  msgstr "Gravity Forms"
597
 
598
- #: includes/pro_banners.php:168
 
 
 
 
599
  msgid "Language"
600
  msgstr "Мова"
601
 
602
- #: includes/pro_banners.php:176
603
  msgid "Multilanguage"
604
  msgstr "Multilanguage"
605
 
606
- #: includes/pro_banners.php:179
607
  msgid ""
608
  "Enable to switch language automatically on multilingual website using the "
609
  "Multilanguage plugin."
@@ -611,15 +615,15 @@ msgstr ""
611
  "Увімкніть, щоб перемкнути мову автоматично на багатомовному сайті, "
612
  "використовуючи плагін Multilanguage."
613
 
614
- #: includes/pro_banners.php:191
615
  msgid "Size"
616
  msgstr "Розмір"
617
 
618
- #: includes/pro_banners.php:195
619
  msgid "Normal"
620
  msgstr "Нормальний"
621
 
622
- #: includes/pro_banners.php:196
623
  msgid "Compact"
624
  msgstr "Компактний"
625
 
2
  msgstr ""
3
  "Project-Id-Version: reCaptcha\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2021-04-21 11:10+0300\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: bestwebsoft.com <plugin@bestwebsoft.com>\n"
8
  "Language-Team: the BestWebSoft Team <plugin@bestwebsoft.com>\n"
350
  "пункт."
351
 
352
  #: includes/class-gglcptch-settings-tabs.php:278
353
+ msgid "Appearance"
354
  msgstr "Зовнішній Вигляд"
355
 
356
  #: includes/class-gglcptch-settings-tabs.php:282
467
  msgid "WordPress default"
468
  msgstr "Стандартних форм WordPress"
469
 
470
+ #: includes/forms.php:47 includes/pro_banners.php:77
471
  msgid "External Plugins"
472
  msgstr "Зовнішні плагіни"
473
 
595
  msgid "Gravity Forms"
596
  msgstr "Gravity Forms"
597
 
598
+ #: includes/pro_banners.php:73
599
+ msgid "WPForms"
600
+ msgstr "WPForms"
601
+
602
+ #: includes/pro_banners.php:170
603
  msgid "Language"
604
  msgstr "Мова"
605
 
606
+ #: includes/pro_banners.php:178
607
  msgid "Multilanguage"
608
  msgstr "Multilanguage"
609
 
610
+ #: includes/pro_banners.php:181
611
  msgid ""
612
  "Enable to switch language automatically on multilingual website using the "
613
  "Multilanguage plugin."
615
  "Увімкніть, щоб перемкнути мову автоматично на багатомовному сайті, "
616
  "використовуючи плагін Multilanguage."
617
 
618
+ #: includes/pro_banners.php:193
619
  msgid "Size"
620
  msgstr "Розмір"
621
 
622
+ #: includes/pro_banners.php:197
623
  msgid "Normal"
624
  msgstr "Нормальний"
625
 
626
+ #: includes/pro_banners.php:198
627
  msgid "Compact"
628
  msgstr "Компактний"
629
 
readme.txt CHANGED
@@ -3,8 +3,8 @@ 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, recaptcha version3
5
  Requires at least: 4.5
6
- Tested up to: 5.7
7
- Stable tag: 1.61
8
  License: GPLv3 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -62,6 +62,7 @@ http://www.youtube.com/watch?v=L2BziEOL3Fg
62
  > * MailChimp for WordPress
63
  > * Ninja Forms
64
  > * Gravity Forms
 
65
  > * Compatible with WooCommerce:
66
  > * Login form
67
  > * Register form
@@ -264,6 +265,13 @@ Please make sure that the problem hasn't been discussed yet on our forum (<https
264
 
265
  == Changelog ==
266
 
 
 
 
 
 
 
 
267
  = V1.61 - 06.04.2021 =
268
  * Update : Settings page has been changed for better usability.
269
  * Update : BWS Panel section was updated.
@@ -535,6 +543,11 @@ Please make sure that the problem hasn't been discussed yet on our forum (<https
535
 
536
  == Upgrade Notice ==
537
 
 
 
 
 
 
538
  = V1.61 =
539
  * Usability improved.
540
  * Plugin optimization completed.
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, recaptcha version3
5
  Requires at least: 4.5
6
+ Tested up to: 5.7.2
7
+ Stable tag: 1.62
8
  License: GPLv3 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
62
  > * MailChimp for WordPress
63
  > * Ninja Forms
64
  > * Gravity Forms
65
+ > * WPForms [NEW]
66
  > * Compatible with WooCommerce:
67
  > * Login form
68
  > * Register form
265
 
266
  == Changelog ==
267
 
268
+ = V1.62 - 14.05.2021 =
269
+ * Update : All functionality was updated for WordPress 5.7.2.
270
+ * Bugfix : The issue of sending a password reset link on the user edit page has been fixed.
271
+ * Pro : The issue with submitting Contact 7 form with empty recaptcha has been fixed.
272
+ * Pro : The issue with displaying recaptcha in the form of creating a new topic and in the reply form has been fixed.
273
+ * Pro : The compatibility with WPForms has been added.
274
+
275
  = V1.61 - 06.04.2021 =
276
  * Update : Settings page has been changed for better usability.
277
  * Update : BWS Panel section was updated.
543
 
544
  == Upgrade Notice ==
545
 
546
+ = V1.62 =
547
+ * The compatibility with new WordPress version updated.
548
+ * Bugs fixed.
549
+ * New features added.
550
+
551
  = V1.61 =
552
  * Usability improved.
553
  * Plugin optimization completed.