Advanced noCaptcha & invisible Captcha - Version 7.0.4

Version Description

(20220128) =

  • IMPROVEMENT

    • Refined settings help text and structure for improved ease of use.
Download this release

Release Info

Developer WPWhiteSecurity
Plugin Icon 128x128 Advanced noCaptcha & invisible Captcha
Version 7.0.4
Comparing to
See all releases

Code changes from version 7.0.3 to 7.0.4

admin/settings.php CHANGED
@@ -96,16 +96,22 @@ class ANR_Settings {
96
  function get_sections() {
97
  $sections = array(
98
  'google_keys' => array(
99
- 'section_title' => __( 'Google Keys', 'advanced-nocaptcha-recaptcha' ),
100
  'section_callback' => function() {
101
- printf( __( 'Get reCaptcha keys from <a href="%s" target="_blank" rel="noopener noreferrer">Google</a>. Make sure to get keys for your selected captcha type. <a href="%s" target="_blank" rel="noopener noreferrer">How to get google reCAPTCHA keys?</a>.', 'advanced-nocaptcha-recaptcha' ), 'https://www.google.com/recaptcha/admin', 'https://www.wpwhitesecurity.com/support/kb/get-google-recaptcha-keys/' );
102
  },
103
  ),
104
  'forms' => array(
105
- 'section_title' => __( 'Forms', 'advanced-nocaptcha-recaptcha' ),
 
 
 
106
  ),
107
  'other' => array(
108
- 'section_title' => __( 'Other Settings', 'advanced-nocaptcha-recaptcha' ),
 
 
 
109
  ),
110
  );
111
  return apply_filters( 'anr_settings_sections', $sections );
@@ -125,7 +131,7 @@ class ANR_Settings {
125
 
126
  $fields = array(
127
  'captcha_version' => array(
128
- 'label' => __( 'reCAPTCHA type', 'advanced-nocaptcha-recaptcha' ),
129
  'section_id' => 'google_keys',
130
  'type' => 'select',
131
  'class' => 'regular',
@@ -162,7 +168,7 @@ class ANR_Settings {
162
  'bp_register' => __( 'BuddyPress register', 'advanced-nocaptcha-recaptcha' ),
163
  'wc_checkout' => __( 'WooCommerce Checkout', 'advanced-nocaptcha-recaptcha' ),
164
  ),
165
- 'desc' => sprintf( __( 'For "Contact Form 7" you need to follow <a target="_blank" rel="noopener noreferrer" href="%1$s">this instruction</a>. For other forms see <a href="%2$s">this instruction</a>', 'advanced-nocaptcha-recaptcha' ), esc_url( 'https://www.wpwhitesecurity.com/support/kb/adding-captcha-contact-form-7-forms/' ), esc_url( anr_settings_page_url( 'instruction' ) ) ),
166
  ),
167
  'error_message' => array(
168
  'label' => __( 'Error Message', 'advanced-nocaptcha-recaptcha' ),
@@ -581,12 +587,15 @@ class ANR_Settings {
581
  </h2>
582
  <!-- Plugin settings go here -->
583
  <div id="poststuff">
584
- <h2><?php _e( 'Advanced noCaptcha & invisible captcha Settings', 'advanced-nocaptcha-recaptcha' ); ?></h2>
585
  <div id="post-body" class="metabox-holder columns-2">
586
  <div id="post-body-content">
587
  <div id="tab_container">
588
  <?php
589
  if( 'settings' == $current_tab ){
 
 
 
 
590
  $this->settings_form();
591
  } elseif( 'instruction' == $current_tab ){
592
  $this->instruction_page();
@@ -601,6 +610,12 @@ class ANR_Settings {
601
  <br class="clear" />
602
  </div><!-- #poststuff -->
603
  </div>
 
 
 
 
 
 
604
  <?php
605
  }
606
 
96
  function get_sections() {
97
  $sections = array(
98
  'google_keys' => array(
99
+ 'section_title' => __( 'STEP 1: Get the Site & Secret keys', 'advanced-nocaptcha-recaptcha' ),
100
  'section_callback' => function() {
101
+ printf( __( 'ReCAPTCHA is a service provided by Google. To add ReCAPTCHA on your website you first need to get a Site key and Secret key from Google. Keys are version-specific. You should create a key pairfor every ReCAPTCHA version you plan on using.<br><br>Get reCaptcha keys from the <a href="%s" target="_blank" rel="noopener noreferrer">Google ReCAPTCHA dashboard</a>.<br><br>If you need assistance with generating the keys, please <a href="%s" target="_blank" rel="noopener noreferrer">read our guide,</a><br><br><h2>STEP 2: Configure the reCAPTCHA integration</h2>The reCAPTCHA type / version that you choose here should match the version you have chosen when configuring reCAPTCHA on Google.', 'advanced-nocaptcha-recaptcha' ), 'https://www.google.com/recaptcha/admin', 'https://www.wpwhitesecurity.com/support/kb/get-google-recaptcha-keys/' );
102
  },
103
  ),
104
  'forms' => array(
105
+ 'section_title' => __( 'STEP 3: Enable reCAPTCHA on forms', 'advanced-nocaptcha-recaptcha' ),
106
+ 'section_callback' => function() {
107
+ printf( __( 'In this section, you can configure on which forms you would like to add the ReCAPTCHA checks.<br><br>NOTE: To add ReCAPTCHA on "Contact Form 7" forms simply add this shortcode in the form: <strong>[c4wp_nocaptcha g-recaptcha-response]</strong>. <br><br>For more detailed information please refer to our <a href="%s" target="_blank" rel="noopener noreferrer">Contact Form 7 & ReCAPTCHA documentation.</a>', 'advanced-nocaptcha-recaptcha' ), 'https://www.wpwhitesecurity.com/support/kb/adding-captcha-contact-form-7-forms/' );
108
+ },
109
  ),
110
  'other' => array(
111
+ 'section_title' => __( 'Other ReCaptcha settings', 'advanced-nocaptcha-recaptcha' ),
112
+ 'section_callback' => function() {
113
+ printf( __( 'IMPORTANT: To add ReCAPTCHA on "Contact Form 7" forms you need to follow these instructions. For other forms follow <a href="%s" target="_blank" rel="noopener noreferrer">these instructions.</a>', 'advanced-nocaptcha-recaptcha' ), 'https://www.wpwhitesecurity.com/support/kb/adding-captcha-contact-form-7-forms/' );
114
+ },
115
  ),
116
  );
117
  return apply_filters( 'anr_settings_sections', $sections );
131
 
132
  $fields = array(
133
  'captcha_version' => array(
134
+ 'label' => __( 'Select the reCAPTCHA type:', 'advanced-nocaptcha-recaptcha' ),
135
  'section_id' => 'google_keys',
136
  'type' => 'select',
137
  'class' => 'regular',
168
  'bp_register' => __( 'BuddyPress register', 'advanced-nocaptcha-recaptcha' ),
169
  'wc_checkout' => __( 'WooCommerce Checkout', 'advanced-nocaptcha-recaptcha' ),
170
  ),
171
+ 'desc' => sprintf( __( 'For other forms see <a href="%2$s">this instruction</a>', 'advanced-nocaptcha-recaptcha' ), esc_url( 'https://www.wpwhitesecurity.com/support/kb/adding-captcha-contact-form-7-forms/' ), esc_url( anr_settings_page_url( 'instruction' ) ) ),
172
  ),
173
  'error_message' => array(
174
  'label' => __( 'Error Message', 'advanced-nocaptcha-recaptcha' ),
587
  </h2>
588
  <!-- Plugin settings go here -->
589
  <div id="poststuff">
 
590
  <div id="post-body" class="metabox-holder columns-2">
591
  <div id="post-body-content">
592
  <div id="tab_container">
593
  <?php
594
  if( 'settings' == $current_tab ){
595
+ ?>
596
+ <h2><?php _e( 'ReCAPTCHA Settings', 'advanced-nocaptcha-recaptcha' ); ?></h2>
597
+ <p class="description"><?php _e( 'Follow the steps below to add ReCAPTCHA to your website.', 'advanced-nocaptcha-recaptcha' ); ?></p>
598
+ <?php
599
  $this->settings_form();
600
  } elseif( 'instruction' == $current_tab ){
601
  $this->instruction_page();
610
  <br class="clear" />
611
  </div><!-- #poststuff -->
612
  </div>
613
+ <style>
614
+ #poststuff h2 {
615
+ padding-left: 0;
616
+ font-size: 18px;
617
+ }
618
+ </style>
619
  <?php
620
  }
621
 
advanced-nocaptcha-recaptcha.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: CAPTCHA 4WP
4
  Plugin URI: https://www.wpwhitesecurity.com/wordpress-plugins/captcha-plugin-wordpress/
5
  Description: Show noCaptcha or invisible captcha in Comment Form, bbPress, BuddyPress, WooCommerce, CF7, Login, Register, Lost Password, Reset Password. Also can implement in any other form easily.
6
- Version: 7.0.3
7
  Author: WP White Security
8
  Author URI: https://www.wpwhitesecurity.com/
9
  Text Domain: advanced-nocaptcha-recaptcha
@@ -42,7 +42,7 @@ class ANR {
42
  }
43
 
44
  private function constants() {
45
- define( 'ANR_PLUGIN_VERSION', '7.0.3' );
46
  define( 'ANR_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
47
  define( 'ANR_PLUGIN_URL', plugins_url( '/', __FILE__ ) );
48
  define( 'ANR_PLUGIN_FILE', __FILE__ );
3
  Plugin Name: CAPTCHA 4WP
4
  Plugin URI: https://www.wpwhitesecurity.com/wordpress-plugins/captcha-plugin-wordpress/
5
  Description: Show noCaptcha or invisible captcha in Comment Form, bbPress, BuddyPress, WooCommerce, CF7, Login, Register, Lost Password, Reset Password. Also can implement in any other form easily.
6
+ Version: 7.0.4
7
  Author: WP White Security
8
  Author URI: https://www.wpwhitesecurity.com/
9
  Text Domain: advanced-nocaptcha-recaptcha
42
  }
43
 
44
  private function constants() {
45
+ define( 'ANR_PLUGIN_VERSION', '7.0.4' );
46
  define( 'ANR_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
47
  define( 'ANR_PLUGIN_URL', plugins_url( '/', __FILE__ ) );
48
  define( 'ANR_PLUGIN_FILE', __FILE__ );
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: WPWhiteSecurity
3
  Tags: recaptcha, nocaptcha, captcha, invisible captcha, bot, spam protection, captch for WooCommerce, forms captcha
4
  Requires at least: 5.0
5
  Tested up to: 5.9
6
- Stable tag: 7.0.3
7
  Requires PHP: 7.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -108,6 +108,12 @@ Simply select the WooCommerce page you want to add CAPTCHA to in the plugin's CA
108
 
109
  == Changelog ==
110
 
 
 
 
 
 
 
111
  = 7.0.3 (20220128) =
112
 
113
  Release notes: [Important CAPTCHA 4WP Announcement](https://www.wpwhitesecurity.com/important-captcha-4wp-announcement/)
3
  Tags: recaptcha, nocaptcha, captcha, invisible captcha, bot, spam protection, captch for WooCommerce, forms captcha
4
  Requires at least: 5.0
5
  Tested up to: 5.9
6
+ Stable tag: 7.0.4
7
  Requires PHP: 7.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
108
 
109
  == Changelog ==
110
 
111
+ = 7.0.4 (20220128) =
112
+
113
+ * **IMPROVEMENT**
114
+
115
+ * Refined settings help text and structure for improved ease of use.
116
+
117
  = 7.0.3 (20220128) =
118
 
119
  Release notes: [Important CAPTCHA 4WP Announcement](https://www.wpwhitesecurity.com/important-captcha-4wp-announcement/)