Advanced noCaptcha & invisible Captcha - Version 2.5

Version Description

  • New: Invisible captcha feature added.
  • Fix: Show captcha error when login form loaded
  • Move this plugin settings page under Settings
Download this release

Release Info

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

Code changes from version 2.4 to 2.5

admin/anr-admin-class.php CHANGED
@@ -36,11 +36,13 @@ if (!class_exists('anr_admin_class'))
36
 
37
  function MenuPage()
38
  {
39
- add_menu_page('Advanced noCaptcha reCaptcha', 'Advanced noCaptcha', 'manage_options', 'anr-admin-settings', array($this, 'admin_settings'),plugins_url( 'advanced-nocaptcha-recaptcha/images/advanced-nocaptcha-recaptcha.jpg' ));
40
 
41
- add_submenu_page('anr-admin-settings', 'Advanced noCaptcha reCaptcha - ' .__('Settings','advanced-nocaptcha-recaptcha'), __('Settings','advanced-nocaptcha-recaptcha'), 'manage_options', 'anr-admin-settings', array($this, 'admin_settings'));
42
 
43
- add_submenu_page('anr-admin-settings', 'Advanced noCaptcha reCaptcha - ' .__('Instruction','fepcf'), __('Instruction','fepcf'), 'manage_options', 'anr-instruction', array($this, "InstructionPage"));
 
 
44
 
45
  }
46
 
@@ -48,8 +50,8 @@ if (!class_exists('anr_admin_class'))
48
  function admin_settings()
49
  {
50
  $token = wp_create_nonce( 'anr-admin-settings' );
51
- $url = 'https://shamimbiplob.wordpress.com/contact-us/';
52
- $ReviewURL = 'https://wordpress.org/support/view/plugin-reviews/advanced-nocaptcha-recaptcha';
53
  echo "<style>
54
  input[type='text'], textarea, select {
55
  width: 100%;
@@ -121,12 +123,13 @@ if (!class_exists('anr_admin_class'))
121
 
122
 
123
  if(isset($_POST['anr-admin-settings-submit'])){
124
- $errors = $this->admin_settings_action();
125
- if(count($errors->get_error_messages())>0){
126
- echo anr_error($errors);
127
- }
128
- else{
129
- echo'<div id="message" class="updated fade">' .__("Options successfully saved.", 'advanced-nocaptcha-recaptcha'). ' </div>';}}
 
130
  echo "<div id='poststuff'>
131
 
132
  <div id='post-body' class='metabox-holder columns-2'>
@@ -155,16 +158,30 @@ if (!class_exists('anr_admin_class'))
155
  echo "</select></td></tr>
156
  <tr><td>".__("Theme", 'advanced-nocaptcha-recaptcha')."</td><td><select name='theme'>
157
 
158
- <option value='light' ".selected(anr_get_option('theme'), 'light',false).">Light</option>
159
- <option value='dark' ".selected(anr_get_option('theme'), 'dark',false).">Dark</option>
160
 
161
  </select></td></tr>
162
  <tr><td>".__("Size", 'advanced-nocaptcha-recaptcha')."</td><td><select name='size'>
163
 
164
- <option value='normal' ".selected(anr_get_option('size'), 'normal',false).">Normal</option>
165
- <option value='compact' ".selected(anr_get_option('size'), 'compact',false).">Compact</option>
 
166
 
167
- </select></td></tr>
 
 
 
 
 
 
 
 
 
 
 
 
 
168
  <tr><td>".__("Error Message", 'advanced-nocaptcha-recaptcha')."</td><td><input type='text' size = '40' name='error_message' value='".wp_kses_post( anr_get_option('error_message', '<strong>ERROR</strong>: Please solve Captcha correctly.') )."' /></td></tr>
169
 
170
  <tr><td>".__("Show Captcha on", 'advanced-nocaptcha-recaptcha')."</td><td>";
@@ -181,7 +198,7 @@ if (!class_exists('anr_admin_class'))
181
  echo "<ul colspan='2'><label><input type='checkbox' name='fep_contact_form' disabled value='1' ".checked(anr_get_option('fep_contact_form'), '1', false)." /> FEP Contact Form (is not installed) <a href='https://wordpress.org/plugins/fep-contact-form/' target='_blank'>Install Now</a></label></ul>";
182
  */
183
 
184
- echo "<ul colspan='2'> For other forms see <a href='".esc_url(admin_url( 'admin.php?page=anr-instruction' ))."'>Instruction</a></ul>";
185
  echo "</td></tr>";
186
 
187
  do_action('anr_admin_setting_form');
@@ -214,7 +231,7 @@ function anr_admin_sidebar()
214
  Know php, MySql, css, javascript, html. Expert in WordPress. <br /><br />
215
 
216
  You can hire for plugin customization, build custom plugin or any kind of wordpress job via <br> <a
217
- href="https://shamimbiplob.wordpress.com/contact-us/"><strong>Contact Form</strong></a>
218
  </div>
219
  </div>
220
  </div>
@@ -258,7 +275,7 @@ function anr_admin_sidebar()
258
 
259
  function InstructionPage()
260
  {
261
- $url = 'https://shamimbiplob.wordpress.com/contact-us/';
262
  echo '<div id="poststuff">
263
 
264
  <div id="post-body" class="metabox-holder columns-2">
@@ -292,7 +309,7 @@ function add_settings_link( $links, $file ) {
292
  //add settings link in plugins page
293
  $plugin_file = 'advanced-nocaptcha-recaptcha/advanced-nocaptcha-recaptcha.php';
294
  if ( $file == $plugin_file ) {
295
- $settings_link = '<a href="' . admin_url( 'admin.php?page=anr-admin-settings' ) . '">' .__( 'Settings', 'advanced-nocaptcha-recaptcha' ) . '</a>';
296
  array_unshift( $links, $settings_link );
297
  }
298
  return $links;
@@ -304,4 +321,3 @@ function add_settings_link( $links, $file ) {
304
  } //ENDIF
305
 
306
  add_action('wp_loaded', array(anr_admin_class::init(), 'actions_filters'));
307
- ?>
36
 
37
  function MenuPage()
38
  {
39
+ //add_menu_page('Advanced noCaptcha reCaptcha', 'Advanced noCaptcha', 'manage_options', 'anr-admin-settings', array($this, 'admin_settings'),plugins_url( 'advanced-nocaptcha-recaptcha/images/advanced-nocaptcha-recaptcha.jpg' ));
40
 
41
+ //add_submenu_page('anr-admin-settings', 'Advanced noCaptcha reCaptcha - ' .__('Settings','advanced-nocaptcha-recaptcha'), __('Settings','advanced-nocaptcha-recaptcha'), 'manage_options', 'anr-admin-settings', array($this, 'admin_settings'));
42
 
43
+ //add_submenu_page('anr-admin-settings', 'Advanced noCaptcha reCaptcha - ' .__('Instruction','fepcf'), __('Instruction','fepcf'), 'manage_options', 'anr-instruction', array($this, "InstructionPage"));
44
+
45
+ add_options_page( __('Advanced noCaptcha & invisible captcha Settings','advanced-nocaptcha-recaptcha'), __('Advanced noCaptcha & invisible captcha','advanced-nocaptcha-recaptcha'), 'manage_options', 'anr-admin-settings', array($this, 'admin_settings') );
46
 
47
  }
48
 
50
  function admin_settings()
51
  {
52
  $token = wp_create_nonce( 'anr-admin-settings' );
53
+ $url = 'https://www.shamimsplugins.com/contact-us/';
54
+ $ReviewURL = 'https://wordpress.org/support/plugin/advanced-nocaptcha-recaptcha/reviews/?filter=5#new-post';
55
  echo "<style>
56
  input[type='text'], textarea, select {
57
  width: 100%;
123
 
124
 
125
  if(isset($_POST['anr-admin-settings-submit'])){
126
+ $errors = $this->admin_settings_action();
127
+ if(count($errors->get_error_messages())>0){
128
+ echo'<div id="message" class="error fade"><p>' . implode( '<br />', $errors->get_error_messages() ). '</p></div>';
129
+ } else {
130
+ echo'<div id="message" class="updated fade"><p>' .__("Options successfully saved.", 'advanced-nocaptcha-recaptcha'). '</p></div>';
131
+ }
132
+ }
133
  echo "<div id='poststuff'>
134
 
135
  <div id='post-body' class='metabox-holder columns-2'>
158
  echo "</select></td></tr>
159
  <tr><td>".__("Theme", 'advanced-nocaptcha-recaptcha')."</td><td><select name='theme'>
160
 
161
+ <option value='light' ".selected(anr_get_option('theme'), 'light',false).">".__("Light", 'advanced-nocaptcha-recaptcha')."</option>
162
+ <option value='dark' ".selected(anr_get_option('theme'), 'dark',false).">".__("Dark", 'advanced-nocaptcha-recaptcha')."</option>
163
 
164
  </select></td></tr>
165
  <tr><td>".__("Size", 'advanced-nocaptcha-recaptcha')."</td><td><select name='size'>
166
 
167
+ <option value='normal' ".selected(anr_get_option('size'), 'normal',false).">".__("Normal", 'advanced-nocaptcha-recaptcha')."</option>
168
+ <option value='compact' ".selected(anr_get_option('size'), 'compact',false).">".__("Compact", 'advanced-nocaptcha-recaptcha')."</option>
169
+ <option value='invisible' ".selected(anr_get_option('size'), 'invisible',false).">".__("Invisible", 'advanced-nocaptcha-recaptcha')."</option>
170
 
171
+ </select>
172
+ <div class='description'>".__("For invisible captcha set this as Invisible. Make sure to use site key and secret key for invisible captcha", 'advanced-nocaptcha-recaptcha')."</div>
173
+ </td></tr>
174
+
175
+ <tr><td>".__("Badge", 'advanced-nocaptcha-recaptcha')."</td><td><select name='badge'>
176
+
177
+ <option value='bottomright' ".selected(anr_get_option('badge'), 'bottomright',false).">".__("Bottom Right", 'advanced-nocaptcha-recaptcha')."</option>
178
+ <option value='bottomleft' ".selected(anr_get_option('badge'), 'bottomleft',false).">".__("Bottom Left", 'advanced-nocaptcha-recaptcha')."</option>
179
+ <option value='inline' ".selected(anr_get_option('badge'), 'inline',false).">".__("Inline", 'advanced-nocaptcha-recaptcha')."</option>
180
+
181
+ </select>
182
+ <div class='description'>".__("Badge shows for invisible captcha", 'advanced-nocaptcha-recaptcha')."</div>
183
+ </td></tr>
184
+
185
  <tr><td>".__("Error Message", 'advanced-nocaptcha-recaptcha')."</td><td><input type='text' size = '40' name='error_message' value='".wp_kses_post( anr_get_option('error_message', '<strong>ERROR</strong>: Please solve Captcha correctly.') )."' /></td></tr>
186
 
187
  <tr><td>".__("Show Captcha on", 'advanced-nocaptcha-recaptcha')."</td><td>";
198
  echo "<ul colspan='2'><label><input type='checkbox' name='fep_contact_form' disabled value='1' ".checked(anr_get_option('fep_contact_form'), '1', false)." /> FEP Contact Form (is not installed) <a href='https://wordpress.org/plugins/fep-contact-form/' target='_blank'>Install Now</a></label></ul>";
199
  */
200
 
201
+ //echo "<ul colspan='2'> For other forms see <a href='".esc_url(admin_url( 'admin.php?page=anr-instruction' ))."'>Instruction</a></ul>";
202
  echo "</td></tr>";
203
 
204
  do_action('anr_admin_setting_form');
231
  Know php, MySql, css, javascript, html. Expert in WordPress. <br /><br />
232
 
233
  You can hire for plugin customization, build custom plugin or any kind of wordpress job via <br> <a
234
+ href="https://www.shamimsplugins.com/contact-us/"><strong>Contact Form</strong></a>
235
  </div>
236
  </div>
237
  </div>
275
 
276
  function InstructionPage()
277
  {
278
+ $url = 'https://www.shamimsplugins.com/contact-us/';
279
  echo '<div id="poststuff">
280
 
281
  <div id="post-body" class="metabox-holder columns-2">
309
  //add settings link in plugins page
310
  $plugin_file = 'advanced-nocaptcha-recaptcha/advanced-nocaptcha-recaptcha.php';
311
  if ( $file == $plugin_file ) {
312
+ $settings_link = '<a href="' . admin_url( 'options-general.php?page=anr-admin-settings' ) . '">' .__( 'Settings', 'advanced-nocaptcha-recaptcha' ) . '</a>';
313
  array_unshift( $links, $settings_link );
314
  }
315
  return $links;
321
  } //ENDIF
322
 
323
  add_action('wp_loaded', array(anr_admin_class::init(), 'actions_filters'));
 
advanced-nocaptcha-recaptcha.php CHANGED
@@ -1,17 +1,17 @@
1
  <?php
2
  /*
3
- Plugin Name: Advanced noCaptcha reCaptcha
4
- Plugin URI: https://shamimbiplob.wordpress.com/contact-us/
5
- Description: Show noCaptcha in Comment Form (after Comment textarea before submit button), Contact Form 7, bbPress, Login, Register, Lost Password, Reset Password. Also can implement in any other form easily.
6
- Version: 2.4
7
  Author: Shamim
8
- Author URI: https://shamimbiplob.wordpress.com/contact-us/
9
  Text Domain: advanced-nocaptcha-recaptcha
10
  License: GPLv2 or later
11
  */
12
  //DEFINE
13
- define('ANR_PLUGIN_DIR',plugin_dir_path( __FILE__ ));
14
- define('ANR_PLUGIN_URL',plugins_url().'/advanced-nocaptcha-recaptcha/');
15
 
16
  require_once('functions.php');
17
 
1
  <?php
2
  /*
3
+ Plugin Name: Advanced noCaptcha & invisible Captcha
4
+ Plugin URI: https://www.shamimsplugins.com/contact-us/
5
+ Description: Show noCaptcha or invisible captcha in Comment Form (after Comment textarea before submit button), bbPress, Login, Register, Lost Password, Reset Password. Also can implement in any other form easily.
6
+ Version: 2.5
7
  Author: Shamim
8
+ Author URI: https://www.shamimsplugins.com/contact-us/
9
  Text Domain: advanced-nocaptcha-recaptcha
10
  License: GPLv2 or later
11
  */
12
  //DEFINE
13
+ define('ANR_PLUGIN_DIR', plugin_dir_path( __FILE__ ));
14
+ define('ANR_PLUGIN_URL', plugins_url( '/', __FILE__ ) );
15
 
16
  require_once('functions.php');
17
 
anr-captcha-class.php CHANGED
@@ -1,384 +1,404 @@
1
- <?php
2
-
3
- if (!class_exists('anr_captcha_class'))
4
- {
5
- class anr_captcha_class
6
- {
7
- private static $instance;
8
-
9
- private static $captcha_count = 0;
10
-
11
- public static function init()
12
- {
13
- if(!self::$instance instanceof self) {
14
- self::$instance = new self;
15
- }
16
- return self::$instance;
17
- }
18
-
19
- function actions_filters()
20
- {
21
- if ( '1' == anr_get_option( 'fep_contact_form' )) {
22
- add_action ('fepcf_message_form_after_content', array($this, 'form_field'), 99);
23
- add_action ('fepcf_action_message_before_send', array($this, 'fepcf_verify'));
24
- }
25
-
26
- if ( '1' == anr_get_option( 'login' ) && !defined('XMLRPC_REQUEST')) {
27
- add_action ('login_form', array($this, 'form_field'), 99);
28
- add_action ('woocommerce_login_form', array($this, 'form_field'), 99);
29
- add_filter ('authenticate', array($this, 'login_verify'), 999 );
30
- }
31
-
32
- if ( '1' == anr_get_option( 'wc_checkout' )) {
33
- add_action( 'woocommerce_after_checkout_validation', array($this, 'wc_checkout_verify') );
34
- add_action ('woocommerce_checkout_after_order_review', array($this, 'wc_form_field') );
35
- }
36
-
37
- if ( '1' == anr_get_option( 'registration' )) {
38
- add_action ('register_form', array($this, 'form_field'), 99);
39
- add_action ('woocommerce_register_form', array($this, 'form_field'), 99);
40
- add_filter ('registration_errors', array($this, 'registration_verify'), 10, 3 );
41
- add_filter ('woocommerce_registration_errors', array($this, 'registration_verify'), 10, 3 );
42
- add_action ('woocommerce_checkout_after_order_review', array($this, 'wc_form_field') );
43
- }
44
-
45
- if ( '1' == anr_get_option( 'ms_user_signup' )) {
46
- add_action ('signup_extra_fields', array($this, 'ms_form_field'), 99);
47
- add_filter ('wpmu_validate_user_signup', array($this, 'ms_form_field_verify'));
48
- }
49
-
50
- if ( '1' == anr_get_option( 'lost_password' )) {
51
- add_action ('lostpassword_form', array($this, 'form_field'), 99);
52
- add_action ('woocommerce_lostpassword_form', array($this, 'form_field'), 99);
53
- //add_action ('allow_password_reset', array($this, 'lostpassword_verify'), 10, 2); //lostpassword_post does not return wp_error( prior WP 4.4 )
54
- add_action('lostpassword_post', array($this, 'lostpassword_verify_44'));
55
- }
56
-
57
- if ( '1' == anr_get_option( 'reset_password' )) {
58
- add_action ('resetpass_form', array($this, 'form_field'), 99);
59
- add_action ('woocommerce_lostpassword_form', array($this, 'form_field'), 99);
60
- add_filter ('validate_password_reset', array($this, 'reset_password_verify'), 10, 2 );
61
- }
62
-
63
- if ( '1' == anr_get_option( 'comment' )) {
64
- if( ! is_user_logged_in() ) {
65
- add_action ('comment_form_after_fields', array($this, 'form_field'), 99);
66
- } else {
67
- add_filter ('comment_form_field_comment', array($this, 'comment_form_field'), 99 );
68
- }
69
- add_filter ('preprocess_comment', array($this, 'comment_verify') );
70
- }
71
-
72
- if ( function_exists( 'wpcf7_add_shortcode' )) {
73
- wpcf7_add_shortcode('anr_nocaptcha', array($this, 'wpcf7_form_field'), true);
74
- add_filter('wpcf7_validate_anr_nocaptcha', array($this, 'wpcf7_verify'), 10, 2);
75
- }
76
-
77
- if ( '1' == anr_get_option( 'bb_new' )) {
78
- add_action ('bbp_theme_before_topic_form_submit_wrapper', array($this, 'form_field'), 99);
79
- add_action ('bbp_new_topic_pre_extras', array($this, 'bb_new_verify') );
80
- }
81
-
82
- if ( '1' == anr_get_option( 'bb_reply' )) {
83
- add_action ('bbp_theme_before_reply_form_submit_wrapper', array($this, 'form_field'), 99);
84
- add_action ('bbp_new_reply_pre_extras', array($this, 'bb_reply_verify'), 10, 2 );
85
- }
86
- }
87
-
88
- function total_captcha()
89
- {
90
- return self::$captcha_count;
91
- }
92
-
93
- function captcha_form_field()
94
- {
95
- self::$captcha_count++;
96
- $no_js = anr_get_option( 'no_js' );
97
- $site_key = trim(anr_get_option( 'site_key' ));
98
- $number = $this->total_captcha();
99
-
100
- $field = '<div class="anr_captcha_field"><div id="anr_captcha_field_' . $number . '"></div></div>';
101
-
102
- if ( 1 == $no_js )
103
- {
104
- $field .='<noscript>
105
- <div>
106
- <div style="width: 302px; height: 422px; position: relative;">
107
- <div style="width: 302px; height: 422px; position: absolute;">
108
- <iframe src="https://www.google.com/recaptcha/api/fallback?k='. $site_key .'"
109
- frameborder="0" scrolling="no"
110
- style="width: 302px; height:422px; border-style: none;">
111
- </iframe>
112
- </div>
113
- </div>
114
- <div style="width: 300px; height: 60px; border-style: none;
115
- bottom: 12px; left: 25px; margin: 0px; padding: 0px; right: 25px;
116
- background: #f9f9f9; border: 1px solid #c1c1c1; border-radius: 3px;">
117
- <textarea id="g-recaptcha-response-'.$number.'" name="g-recaptcha-response"
118
- class="g-recaptcha-response"
119
- style="width: 250px; height: 40px; border: 1px solid #c1c1c1;
120
- margin: 10px 25px; padding: 0px; resize: none;" ></textarea>
121
- </div>
122
- </div>
123
- </noscript>';
124
- }
125
-
126
- return $field;
127
- }
128
-
129
- function footer_script()
130
- {
131
- $number = $this->total_captcha();
132
- static $included = false;
133
-
134
- if ( !$number )
135
- return;
136
-
137
- if ( $included )
138
- return;
139
-
140
- $included = true;
141
-
142
- $site_key = trim(anr_get_option( 'site_key' ));
143
- $theme = anr_get_option( 'theme', 'light' );
144
- $size = anr_get_option( 'size', 'normal' );
145
- $language = trim(anr_get_option( 'language' ));
146
-
147
- $lang = "";
148
- if ( $language )
149
- $lang = "&hl=$language";
150
-
151
- ?>
152
- <script type="text/javascript">
153
- var anr_onloadCallback = function() {
154
- <?php for ( $num = 1; $num <= $number; $num++ ) { ?>
155
- var anr_captcha_<?php echo $num; ?>;
156
- anr_captcha_<?php echo $num; ?> = grecaptcha.render('anr_captcha_field_<?php echo $num; ?>', {
157
- 'sitekey' : '<?php echo esc_js( $site_key ); ?>',
158
- 'theme' : '<?php echo esc_js( $theme ); ?>',
159
- 'size' : '<?php echo esc_js( $size ); ?>'
160
- });
161
- <?php } ?>
162
- };
163
- </script>
164
- <script src="https://www.google.com/recaptcha/api.js?onload=anr_onloadCallback&render=explicit<?php echo esc_js( $lang ); ?>"
165
- async defer>
166
- </script>
167
-
168
- <?php
169
-
170
- }
171
-
172
-
173
- function form_field()
174
- {
175
- $loggedin_hide = anr_get_option( 'loggedin_hide' );
176
-
177
- if ( is_user_logged_in() && $loggedin_hide )
178
- return;
179
-
180
- anr_captcha_form_field();
181
-
182
- }
183
-
184
- function wc_form_field()
185
- {
186
-
187
- if( ! is_user_logged_in() && 'yes' == get_option( 'woocommerce_enable_signup_and_login_from_checkout', 'yes' ) && '1' == anr_get_option( 'registration' ) ){
188
- $this->form_field();
189
-
190
- } elseif( '1' == anr_get_option( 'wc_checkout' ) ){
191
- $this->form_field();
192
- }
193
-
194
- }
195
-
196
- function ms_form_field( $errors )
197
-
198
- {
199
- $loggedin_hide = anr_get_option( 'loggedin_hide' );
200
-
201
- if ( is_user_logged_in() && $loggedin_hide )
202
- return;
203
-
204
- if ( $errmsg = $errors->get_error_message('anr_error') ) {
205
- echo '<p class="error">' . $errmsg . '</p>';
206
- }
207
-
208
- anr_captcha_form_field();
209
-
210
- }
211
-
212
- function comment_form_field( $defaults )
213
- {
214
- $loggedin_hide = anr_get_option( 'loggedin_hide' );
215
-
216
- if ( is_user_logged_in() && $loggedin_hide )
217
- return $defaults;
218
-
219
- $defaults = $defaults . anr_captcha_form_field( false );
220
- return $defaults;
221
-
222
-
223
- }
224
-
225
- function verify()
226
- {
227
-
228
- $loggedin_hide = anr_get_option( 'loggedin_hide' );
229
-
230
- if ( is_user_logged_in() && $loggedin_hide )
231
- return true;
232
-
233
- return anr_verify_captcha();
234
-
235
- }
236
-
237
- function fepcf_verify ( $errors )
238
- {
239
- $error_message = str_replace(__('<strong>ERROR</strong>: ', 'advanced-nocaptcha-recaptcha'), '', anr_get_option( 'error_message' ));
240
-
241
- if ( ! $this->verify() ){
242
- $errors->add('anr_error', $error_message);
243
- }
244
- }
245
-
246
- function login_verify ( $user )
247
- {
248
- if ( ! $this->verify() ) {
249
- $error_message = anr_get_option( 'error_message' );
250
- return new WP_Error( 'anr_error', $error_message );
251
- }
252
-
253
- return $user;
254
- }
255
-
256
- function registration_verify ( $errors, $sanitized_user_login, $user_email )
257
- {
258
- if ( ! $this->verify() ) {
259
- $error_message = anr_get_option( 'error_message' );
260
- $errors->add( 'anr_error', $error_message );
261
- }
262
-
263
- return $errors;
264
- }
265
-
266
- function ms_form_field_verify( $result )
267
-
268
- {
269
- if ( ! $this->verify() ) {
270
- $error_message = str_replace(__('<strong>ERROR</strong>: ', 'advanced-nocaptcha-recaptcha'), '', anr_get_option( 'error_message' ));
271
- $result['errors']->add( 'anr_error', $error_message );
272
- }
273
-
274
- return $result;
275
- }
276
-
277
- function lostpassword_verify( $result, $user_id )
278
- {
279
- if ( ! $this->verify() ) {
280
- $error_message = anr_get_option( 'error_message' );
281
- return new WP_Error( 'anr_error', $error_message );
282
- }
283
-
284
- return $result;
285
- }
286
-
287
- function lostpassword_verify_44( $errors )
288
- {
289
- if ( ! $this->verify() ) {
290
- $error_message = anr_get_option( 'error_message' );
291
- $errors->add('anr_error', $error_message);
292
- }
293
- }
294
-
295
-
296
- function reset_password_verify( $errors, $user )
297
- {
298
-
299
- if ( ! $this->verify() ) {
300
- $error_message = anr_get_option( 'error_message' );
301
- $errors->add('anr_error', $error_message);
302
- }
303
- }
304
-
305
- function comment_verify( $commentdata )
306
- {
307
-
308
- if ( ! $this->verify() ) {
309
- $error_message = anr_get_option( 'error_message' );
310
- wp_die( $error_message, 200 );
311
- }
312
-
313
- return $commentdata;
314
- }
315
-
316
- function wpcf7_form_field( $tags )
317
- {
318
- $loggedin_hide = anr_get_option( 'loggedin_hide' );
319
-
320
- if ( is_user_logged_in() && $loggedin_hide )
321
- return;
322
-
323
- return anr_captcha_form_field( false )."<span class='wpcf7-form-control-wrap g-recaptcha-response'></span>";
324
-
325
-
326
- }
327
-
328
- function wpcf7_verify( $result, $tag )
329
- {
330
- $tag = new WPCF7_Shortcode( $tag );
331
- $name = $tag->name;
332
-
333
- if ( ! $this->verify() ) {
334
-
335
- $error_message = anr_get_option( 'error_message' ).'<button onclick="javascript:location.reload();">Reload Captcha</button>';
336
-
337
- if ( method_exists($result, 'invalidate' ) ) { // wpcf7 4.1
338
- $result->invalidate( $tag, $error_message );
339
- } else {
340
- $result['valid'] = false;
341
- $result['reason'][$name] = $error_message;
342
- }
343
- }
344
-
345
- return $result;
346
- }
347
-
348
- function bb_new_verify( $forum_id )
349
- {
350
-
351
- if ( ! $this->verify() ) {
352
- $error_message = anr_get_option( 'error_message' );
353
- bbp_add_error('anr_error', $error_message);
354
- }
355
- }
356
-
357
- function bb_reply_verify( $topic_id, $forum_id )
358
- {
359
-
360
- if ( ! $this->verify() ) {
361
- $error_message = anr_get_option( 'error_message' );
362
- bbp_add_error('anr_error', $error_message);
363
- }
364
- }
365
-
366
- function wc_checkout_verify()
367
- {
368
-
369
- if( ! is_user_logged_in() && 'yes' == get_option( 'woocommerce_enable_signup_and_login_from_checkout', 'yes' ) && '1' == anr_get_option( 'registration' ) ){
370
- // verification done during ragistration, So no need any more verification
371
-
372
- } elseif( ! $this->verify() ){
373
-
374
- $error_message = anr_get_option( 'error_message' );
375
- wc_add_notice( $error_message, 'error' );
376
- }
377
- }
378
-
379
-
380
- } //END CLASS
381
- } //ENDIF
382
-
383
- add_action('init', array(anr_captcha_class::init(), 'actions_filters'));
384
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ if (!class_exists('anr_captcha_class'))
4
+ {
5
+ class anr_captcha_class
6
+ {
7
+ private static $instance;
8
+
9
+ private static $captcha_count = 0;
10
+
11
+ public static function init()
12
+ {
13
+ if(!self::$instance instanceof self) {
14
+ self::$instance = new self;
15
+ }
16
+ return self::$instance;
17
+ }
18
+
19
+ function actions_filters()
20
+ {
21
+ if ( '1' == anr_get_option( 'fep_contact_form' )) {
22
+ add_action ('fepcf_message_form_after_content', array($this, 'form_field'), 99);
23
+ add_action ('fepcf_action_message_before_send', array($this, 'fepcf_verify'));
24
+ }
25
+
26
+ if ( '1' == anr_get_option( 'login' ) && !defined('XMLRPC_REQUEST')) {
27
+ add_action ('login_form', array($this, 'form_field'), 99);
28
+ add_action ('woocommerce_login_form', array($this, 'form_field'), 99);
29
+ add_filter ('authenticate', array($this, 'login_verify'), 999 );
30
+ }
31
+
32
+ if ( '1' == anr_get_option( 'wc_checkout' )) {
33
+ add_action( 'woocommerce_after_checkout_validation', array($this, 'wc_checkout_verify') );
34
+ add_action ('woocommerce_checkout_after_order_review', array($this, 'wc_form_field') );
35
+ }
36
+
37
+ if ( '1' == anr_get_option( 'registration' )) {
38
+ add_action ('register_form', array($this, 'form_field'), 99);
39
+ add_action ('woocommerce_register_form', array($this, 'form_field'), 99);
40
+ add_filter ('registration_errors', array($this, 'registration_verify'), 10, 3 );
41
+ add_filter ('woocommerce_registration_errors', array($this, 'registration_verify'), 10, 3 );
42
+ add_action ('woocommerce_checkout_after_order_review', array($this, 'wc_form_field') );
43
+ }
44
+
45
+ if ( '1' == anr_get_option( 'ms_user_signup' )) {
46
+ add_action ('signup_extra_fields', array($this, 'ms_form_field'), 99);
47
+ add_filter ('wpmu_validate_user_signup', array($this, 'ms_form_field_verify'));
48
+ }
49
+
50
+ if ( '1' == anr_get_option( 'lost_password' )) {
51
+ add_action ('lostpassword_form', array($this, 'form_field'), 99);
52
+ add_action ('woocommerce_lostpassword_form', array($this, 'form_field'), 99);
53
+ //add_action ('allow_password_reset', array($this, 'lostpassword_verify'), 10, 2); //lostpassword_post does not return wp_error( prior WP 4.4 )
54
+ add_action('lostpassword_post', array($this, 'lostpassword_verify_44'));
55
+ }
56
+
57
+ if ( '1' == anr_get_option( 'reset_password' )) {
58
+ add_action ('resetpass_form', array($this, 'form_field'), 99);
59
+ add_action ('woocommerce_lostpassword_form', array($this, 'form_field'), 99);
60
+ add_filter ('validate_password_reset', array($this, 'reset_password_verify'), 10, 2 );
61
+ }
62
+
63
+ if ( '1' == anr_get_option( 'comment' )) {
64
+ if( ! is_user_logged_in() ) {
65
+ add_action ('comment_form_after_fields', array($this, 'form_field'), 99);
66
+ } else {
67
+ add_filter ('comment_form_field_comment', array($this, 'comment_form_field'), 99 );
68
+ }
69
+ add_filter ('preprocess_comment', array($this, 'comment_verify') );
70
+ }
71
+
72
+ if ( function_exists( 'wpcf7_add_shortcode' )) {
73
+ wpcf7_add_shortcode('anr_nocaptcha', array($this, 'wpcf7_form_field'), true);
74
+ add_filter('wpcf7_validate_anr_nocaptcha', array($this, 'wpcf7_verify'), 10, 2);
75
+ }
76
+
77
+ if ( '1' == anr_get_option( 'bb_new' )) {
78
+ add_action ('bbp_theme_before_topic_form_submit_wrapper', array($this, 'form_field'), 99);
79
+ add_action ('bbp_new_topic_pre_extras', array($this, 'bb_new_verify') );
80
+ }
81
+
82
+ if ( '1' == anr_get_option( 'bb_reply' )) {
83
+ add_action ('bbp_theme_before_reply_form_submit_wrapper', array($this, 'form_field'), 99);
84
+ add_action ('bbp_new_reply_pre_extras', array($this, 'bb_reply_verify'), 10, 2 );
85
+ }
86
+ }
87
+
88
+ function total_captcha()
89
+ {
90
+ return self::$captcha_count;
91
+ }
92
+
93
+ function captcha_form_field()
94
+ {
95
+ self::$captcha_count++;
96
+ $no_js = anr_get_option( 'no_js' );
97
+ $site_key = trim(anr_get_option( 'site_key' ));
98
+ $number = $this->total_captcha();
99
+
100
+ $field = '<div class="anr_captcha_field"><div id="anr_captcha_field_' . $number . '"></div></div>';
101
+
102
+ if ( 1 == $no_js )
103
+ {
104
+ $field .='<noscript>
105
+ <div>
106
+ <div style="width: 302px; height: 422px; position: relative;">
107
+ <div style="width: 302px; height: 422px; position: absolute;">
108
+ <iframe src="https://www.google.com/recaptcha/api/fallback?k='. $site_key .'"
109
+ frameborder="0" scrolling="no"
110
+ style="width: 302px; height:422px; border-style: none;">
111
+ </iframe>
112
+ </div>
113
+ </div>
114
+ <div style="width: 300px; height: 60px; border-style: none;
115
+ bottom: 12px; left: 25px; margin: 0px; padding: 0px; right: 25px;
116
+ background: #f9f9f9; border: 1px solid #c1c1c1; border-radius: 3px;">
117
+ <textarea id="g-recaptcha-response-'.$number.'" name="g-recaptcha-response"
118
+ class="g-recaptcha-response"
119
+ style="width: 250px; height: 40px; border: 1px solid #c1c1c1;
120
+ margin: 10px 25px; padding: 0px; resize: none;" ></textarea>
121
+ </div>
122
+ </div>
123
+ </noscript>';
124
+ }
125
+
126
+ return $field;
127
+ }
128
+
129
+ function footer_script()
130
+ {
131
+ $number = $this->total_captcha();
132
+ static $included = false;
133
+
134
+ if ( !$number )
135
+ return;
136
+
137
+ if ( $included )
138
+ return;
139
+
140
+ $included = true;
141
+
142
+ $site_key = trim(anr_get_option( 'site_key' ));
143
+ $theme = anr_get_option( 'theme', 'light' );
144
+ $size = anr_get_option( 'size', 'normal' );
145
+ $language = trim(anr_get_option( 'language' ));
146
+
147
+ $lang = "";
148
+ if ( $language )
149
+ $lang = "&hl=$language";
150
+
151
+ ?>
152
+ <script type="text/javascript">
153
+ var anr_onloadCallback = function() {
154
+ var anr_obj = {
155
+ 'sitekey' : '<?php echo esc_js( $site_key ); ?>',
156
+ 'size' : '<?php echo esc_js( $size ); ?>',
157
+ };
158
+ <?php if( 'invisible' == $size ){
159
+ wp_enqueue_script( 'jquery' ); ?>
160
+ anr_obj.badge = '<?php echo esc_js( anr_get_option( 'badge', 'bottomright' ) ); ?>';
161
+ <?php } else { ?>
162
+ anr_obj.theme = '<?php echo esc_js( $theme ); ?>';
163
+ <?php } ?>
164
+
165
+ <?php for ( $num = 1; $num <= $number; $num++ ) { ?>
166
+ var anr_captcha_<?php echo $num; ?>;
167
+
168
+ <?php if( 'invisible' == $size ){ ?>
169
+ var anr_form<?php echo $num; ?> = jQuery('#anr_captcha_field_<?php echo $num; ?>').closest('form')[0];
170
+ anr_obj.callback = function(){ anr_form<?php echo $num; ?>.submit(); };
171
+ anr_obj["expired-callback"] = function(){ grecaptcha.reset(anr_captcha_<?php echo $num; ?>); };
172
+
173
+ anr_form<?php echo $num; ?>.onsubmit = function(evt){
174
+ evt.preventDefault();
175
+ //grecaptcha.reset(anr_captcha_<?php echo $num; ?>);
176
+ grecaptcha.execute(anr_captcha_<?php echo $num; ?>);
177
+ };
178
+ <?php } ?>
179
+
180
+ anr_captcha_<?php echo $num; ?> = grecaptcha.render('anr_captcha_field_<?php echo $num; ?>', anr_obj );
181
+ <?php } ?>
182
+ };
183
+ </script>
184
+ <script src="https://www.google.com/recaptcha/api.js?onload=anr_onloadCallback&render=explicit<?php echo esc_js( $lang ); ?>"
185
+ async defer>
186
+ </script>
187
+
188
+ <?php
189
+
190
+ }
191
+
192
+
193
+ function form_field()
194
+ {
195
+ $loggedin_hide = anr_get_option( 'loggedin_hide' );
196
+
197
+ if ( is_user_logged_in() && $loggedin_hide )
198
+ return;
199
+
200
+ anr_captcha_form_field( true );
201
+
202
+ }
203
+
204
+ function wc_form_field()
205
+ {
206
+
207
+ if( ! is_user_logged_in() && 'yes' == get_option( 'woocommerce_enable_signup_and_login_from_checkout', 'yes' ) && '1' == anr_get_option( 'registration' ) ){
208
+ $this->form_field();
209
+
210
+ } elseif( '1' == anr_get_option( 'wc_checkout' ) ){
211
+ $this->form_field();
212
+ }
213
+
214
+ }
215
+
216
+ function ms_form_field( $errors )
217
+
218
+ {
219
+ $loggedin_hide = anr_get_option( 'loggedin_hide' );
220
+
221
+ if ( is_user_logged_in() && $loggedin_hide )
222
+ return;
223
+
224
+ if ( $errmsg = $errors->get_error_message('anr_error') ) {
225
+ echo '<p class="error">' . $errmsg . '</p>';
226
+ }
227
+
228
+ anr_captcha_form_field( true );
229
+
230
+ }
231
+
232
+ function comment_form_field( $defaults )
233
+ {
234
+ $loggedin_hide = anr_get_option( 'loggedin_hide' );
235
+
236
+ if ( is_user_logged_in() && $loggedin_hide )
237
+ return $defaults;
238
+
239
+ $defaults = $defaults . anr_captcha_form_field( false );
240
+ return $defaults;
241
+
242
+
243
+ }
244
+
245
+ function verify()
246
+ {
247
+
248
+ $loggedin_hide = anr_get_option( 'loggedin_hide' );
249
+
250
+ if ( is_user_logged_in() && $loggedin_hide )
251
+ return true;
252
+
253
+ return anr_verify_captcha();
254
+
255
+ }
256
+
257
+ function fepcf_verify ( $errors )
258
+ {
259
+ $error_message = str_replace(__('<strong>ERROR</strong>: ', 'advanced-nocaptcha-recaptcha'), '', anr_get_option( 'error_message' ));
260
+
261
+ if ( ! $this->verify() ){
262
+ $errors->add('anr_error', $error_message);
263
+ }
264
+ }
265
+
266
+ function login_verify ( $user )
267
+ {
268
+ if ( ! is_wp_error( $user ) && ! $this->verify() ) {
269
+ $error_message = anr_get_option( 'error_message' );
270
+ return new WP_Error( 'anr_error', $error_message );
271
+ }
272
+
273
+ return $user;
274
+ }
275
+
276
+ function registration_verify ( $errors, $sanitized_user_login, $user_email )
277
+ {
278
+ if ( ! $this->verify() ) {
279
+ $error_message = anr_get_option( 'error_message' );
280
+ $errors->add( 'anr_error', $error_message );
281
+ }
282
+
283
+ return $errors;
284
+ }
285
+
286
+ function ms_form_field_verify( $result )
287
+
288
+ {
289
+ if ( ! $this->verify() ) {
290
+ $error_message = str_replace(__('<strong>ERROR</strong>: ', 'advanced-nocaptcha-recaptcha'), '', anr_get_option( 'error_message' ));
291
+ $result['errors']->add( 'anr_error', $error_message );
292
+ }
293
+
294
+ return $result;
295
+ }
296
+
297
+ function lostpassword_verify( $result, $user_id )
298
+ {
299
+ if ( ! $this->verify() ) {
300
+ $error_message = anr_get_option( 'error_message' );
301
+ return new WP_Error( 'anr_error', $error_message );
302
+ }
303
+
304
+ return $result;
305
+ }
306
+
307
+ function lostpassword_verify_44( $errors )
308
+ {
309
+ if ( ! $this->verify() ) {
310
+ $error_message = anr_get_option( 'error_message' );
311
+ $errors->add('anr_error', $error_message);
312
+ }
313
+ }
314
+
315
+
316
+ function reset_password_verify( $errors, $user )
317
+ {
318
+
319
+ if ( ! $this->verify() ) {
320
+ $error_message = anr_get_option( 'error_message' );
321
+ $errors->add('anr_error', $error_message);
322
+ }
323
+ }
324
+
325
+ function comment_verify( $commentdata )
326
+ {
327
+
328
+ if ( ! $this->verify() ) {
329
+ $error_message = anr_get_option( 'error_message' );
330
+ wp_die( $error_message, 200 );
331
+ }
332
+
333
+ return $commentdata;
334
+ }
335
+
336
+ function wpcf7_form_field( $tags )
337
+ {
338
+ $loggedin_hide = anr_get_option( 'loggedin_hide' );
339
+
340
+ if ( is_user_logged_in() && $loggedin_hide )
341
+ return;
342
+
343
+ return anr_captcha_form_field( false )."<span class='wpcf7-form-control-wrap g-recaptcha-response'></span>";
344
+
345
+
346
+ }
347
+
348
+ function wpcf7_verify( $result, $tag )
349
+ {
350
+ $tag = new WPCF7_Shortcode( $tag );
351
+ $name = $tag->name;
352
+
353
+ if ( ! $this->verify() ) {
354
+
355
+ $error_message = anr_get_option( 'error_message' ).'<button onclick="javascript:location.reload();">Reload Captcha</button>';
356
+
357
+ if ( method_exists($result, 'invalidate' ) ) { // wpcf7 4.1
358
+ $result->invalidate( $tag, $error_message );
359
+ } else {
360
+ $result['valid'] = false;
361
+ $result['reason'][$name] = $error_message;
362
+ }
363
+ }
364
+
365
+ return $result;
366
+ }
367
+
368
+ function bb_new_verify( $forum_id )
369
+ {
370
+
371
+ if ( ! $this->verify() ) {
372
+ $error_message = anr_get_option( 'error_message' );
373
+ bbp_add_error('anr_error', $error_message);
374
+ }
375
+ }
376
+
377
+ function bb_reply_verify( $topic_id, $forum_id )
378
+ {
379
+
380
+ if ( ! $this->verify() ) {
381
+ $error_message = anr_get_option( 'error_message' );
382
+ bbp_add_error('anr_error', $error_message);
383
+ }
384
+ }
385
+
386
+ function wc_checkout_verify()
387
+ {
388
+
389
+ if( ! is_user_logged_in() && 'yes' == get_option( 'woocommerce_enable_signup_and_login_from_checkout', 'yes' ) && '1' == anr_get_option( 'registration' ) ){
390
+ // verification done during ragistration, So no need any more verification
391
+
392
+ } elseif( ! $this->verify() ){
393
+
394
+ $error_message = anr_get_option( 'error_message' );
395
+ wc_add_notice( $error_message, 'error' );
396
+ }
397
+ }
398
+
399
+
400
+ } //END CLASS
401
+ } //ENDIF
402
+
403
+ add_action('init', array(anr_captcha_class::init(), 'actions_filters'));
404
+
functions.php CHANGED
@@ -79,7 +79,7 @@ function anr_wp_footer()
79
 
80
  add_action( 'anr_captcha_form_field', 'anr_captcha_form_field' );
81
 
82
- function anr_captcha_form_field( $echo = true )
83
  {
84
 
85
  if ( $echo ) {
@@ -90,15 +90,17 @@ function anr_captcha_form_field( $echo = true )
90
 
91
  }
92
 
93
- function anr_verify_captcha()
94
  {
95
  $secre_key = trim(anr_get_option( 'secret_key' ));
96
- $response = isset( $_POST['g-recaptcha-response'] ) ? $_POST['g-recaptcha-response'] : '';
97
  $remoteip = $_SERVER["REMOTE_ADDR"];
98
 
99
  if ( !$secre_key ) //if $secre_key is not set
100
  return true;
101
 
 
 
 
102
  if ( !$response || !$remoteip )
103
  return false;
104
 
79
 
80
  add_action( 'anr_captcha_form_field', 'anr_captcha_form_field' );
81
 
82
+ function anr_captcha_form_field( $echo = false )
83
  {
84
 
85
  if ( $echo ) {
90
 
91
  }
92
 
93
+ function anr_verify_captcha( $response = false )
94
  {
95
  $secre_key = trim(anr_get_option( 'secret_key' ));
 
96
  $remoteip = $_SERVER["REMOTE_ADDR"];
97
 
98
  if ( !$secre_key ) //if $secre_key is not set
99
  return true;
100
 
101
+ if( false === $response )
102
+ $response = isset( $_POST['g-recaptcha-response'] ) ? $_POST['g-recaptcha-response'] : '';
103
+
104
  if ( !$response || !$remoteip )
105
  return false;
106
 
images/advanced-nocaptcha-recaptcha.jpg CHANGED
File without changes
languages/advanced-nocaptcha-recaptcha-en_US.mo DELETED
Binary file
languages/{advanced-nocaptcha-recaptcha-en_US.po → advanced-nocaptcha-recaptcha.pot} RENAMED
@@ -1,390 +1,444 @@
1
  msgid ""
2
  msgstr ""
3
- "Project-Id-Version: Advanced noCaptcha reCaptcha 2.1\n"
4
- "POT-Creation-Date: 2016-05-18 14:36+0600\n"
5
- "PO-Revision-Date: 2016-05-18 14:36+0600\n"
6
  "Last-Translator: \n"
7
  "Language-Team: Shamim\n"
8
  "Language: en_US\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "X-Generator: Poedit 1.8.7\n"
13
  "X-Poedit-Basepath: ..\n"
14
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
15
  "X-Poedit-KeywordsList: __;_e\n"
16
  "X-Poedit-SearchPath-0: .\n"
17
 
18
- #: admin/anr-admin-class.php:41 admin/anr-admin-class.php:292
19
- msgid "Settings"
20
  msgstr ""
21
 
22
- #: admin/anr-admin-class.php:43
23
- msgid "Instruction"
24
  msgstr ""
25
 
26
- #: admin/anr-admin-class.php:59
27
  msgid "Auto Detect"
28
  msgstr ""
29
 
30
- #: admin/anr-admin-class.php:60
31
  msgid "Arabic"
32
  msgstr ""
33
 
34
- #: admin/anr-admin-class.php:61
35
  msgid "Bulgarian"
36
  msgstr ""
37
 
38
- #: admin/anr-admin-class.php:62
39
  msgid "Catalan"
40
  msgstr ""
41
 
42
- #: admin/anr-admin-class.php:63
43
  msgid "Chinese (Simplified)"
44
  msgstr ""
45
 
46
- #: admin/anr-admin-class.php:64
47
  msgid "Chinese (Traditional)"
48
  msgstr ""
49
 
50
- #: admin/anr-admin-class.php:65
51
  msgid "Croatian"
52
  msgstr ""
53
 
54
- #: admin/anr-admin-class.php:66
55
  msgid "Czech"
56
  msgstr ""
57
 
58
- #: admin/anr-admin-class.php:67
59
  msgid "Danish"
60
  msgstr ""
61
 
62
- #: admin/anr-admin-class.php:68
63
  msgid "Dutch"
64
  msgstr ""
65
 
66
- #: admin/anr-admin-class.php:69
67
  msgid "English (UK)"
68
  msgstr ""
69
 
70
- #: admin/anr-admin-class.php:70
71
  msgid "English (US)"
72
  msgstr ""
73
 
74
- #: admin/anr-admin-class.php:71
75
  msgid "Filipino"
76
  msgstr ""
77
 
78
- #: admin/anr-admin-class.php:72
79
  msgid "Finnish"
80
  msgstr ""
81
 
82
- #: admin/anr-admin-class.php:73
83
  msgid "French"
84
  msgstr ""
85
 
86
- #: admin/anr-admin-class.php:74
87
  msgid "French (Canadian)"
88
  msgstr ""
89
 
90
- #: admin/anr-admin-class.php:75
91
  msgid "German"
92
  msgstr ""
93
 
94
- #: admin/anr-admin-class.php:76
95
  msgid "German (Austria)"
96
  msgstr ""
97
 
98
- #: admin/anr-admin-class.php:77
99
  msgid "German (Switzerland)"
100
  msgstr ""
101
 
102
- #: admin/anr-admin-class.php:78
103
  msgid "Greek"
104
  msgstr ""
105
 
106
- #: admin/anr-admin-class.php:79
107
  msgid "Hebrew"
108
  msgstr ""
109
 
110
- #: admin/anr-admin-class.php:80
111
  msgid "Hindi"
112
  msgstr ""
113
 
114
- #: admin/anr-admin-class.php:81
115
  msgid "Hungarain"
116
  msgstr ""
117
 
118
- #: admin/anr-admin-class.php:82
119
  msgid "Indonesian"
120
  msgstr ""
121
 
122
- #: admin/anr-admin-class.php:83
123
  msgid "Italian"
124
  msgstr ""
125
 
126
- #: admin/anr-admin-class.php:84
127
  msgid "Japanese"
128
  msgstr ""
129
 
130
- #: admin/anr-admin-class.php:85
131
  msgid "Korean"
132
  msgstr ""
133
 
134
- #: admin/anr-admin-class.php:86
135
  msgid "Latvian"
136
  msgstr ""
137
 
138
- #: admin/anr-admin-class.php:87
139
  msgid "Lithuanian"
140
  msgstr ""
141
 
142
- #: admin/anr-admin-class.php:88
143
  msgid "Norwegian"
144
  msgstr ""
145
 
146
- #: admin/anr-admin-class.php:89
147
  msgid "Persian"
148
  msgstr ""
149
 
150
- #: admin/anr-admin-class.php:90
151
  msgid "Polish"
152
  msgstr ""
153
 
154
- #: admin/anr-admin-class.php:91
155
  msgid "Portuguese"
156
  msgstr ""
157
 
158
- #: admin/anr-admin-class.php:92
159
  msgid "Portuguese (Brazil)"
160
  msgstr ""
161
 
162
- #: admin/anr-admin-class.php:93
163
  msgid "Portuguese (Portugal)"
164
  msgstr ""
165
 
166
- #: admin/anr-admin-class.php:94
167
  msgid "Romanian"
168
  msgstr ""
169
 
170
- #: admin/anr-admin-class.php:95
171
  msgid "Russian"
172
  msgstr ""
173
 
174
- #: admin/anr-admin-class.php:96
175
  msgid "Serbian"
176
  msgstr ""
177
 
178
- #: admin/anr-admin-class.php:97
179
  msgid "Slovak"
180
  msgstr ""
181
 
182
- #: admin/anr-admin-class.php:98
183
  msgid "Slovenian"
184
  msgstr ""
185
 
186
- #: admin/anr-admin-class.php:99
187
  msgid "Spanish"
188
  msgstr ""
189
 
190
- #: admin/anr-admin-class.php:100
191
  msgid "Spanish (Latin America)"
192
  msgstr ""
193
 
194
- #: admin/anr-admin-class.php:101
195
  msgid "Swedish"
196
  msgstr ""
197
 
198
- #: admin/anr-admin-class.php:102
199
  msgid "Thai"
200
  msgstr ""
201
 
202
- #: admin/anr-admin-class.php:103
203
  msgid "Turkish"
204
  msgstr ""
205
 
206
- #: admin/anr-admin-class.php:104
207
  msgid "Ukrainian"
208
  msgstr ""
209
 
210
- #: admin/anr-admin-class.php:105
211
  msgid "Vietnamese"
212
  msgstr ""
213
 
214
- #: admin/anr-admin-class.php:110
215
  msgid "Login Form"
216
  msgstr ""
217
 
218
- #: admin/anr-admin-class.php:111
219
  msgid "Registration Form"
220
  msgstr ""
221
 
222
- #: admin/anr-admin-class.php:112
223
  msgid "Multisite User Signup Form"
224
  msgstr ""
225
 
226
- #: admin/anr-admin-class.php:113
227
  msgid "Lost Password Form"
228
  msgstr ""
229
 
230
- #: admin/anr-admin-class.php:114
231
  msgid "Reset Password Form"
232
  msgstr ""
233
 
234
- #: admin/anr-admin-class.php:115
235
  msgid "Comment Form"
236
  msgstr ""
237
 
238
- #: admin/anr-admin-class.php:116
239
  msgid "bbPress New topic"
240
  msgstr ""
241
 
242
- #: admin/anr-admin-class.php:117
243
  msgid "bbPress reply to topic"
244
  msgstr ""
245
 
246
- #: admin/anr-admin-class.php:128
 
 
 
 
247
  msgid "Options successfully saved."
248
  msgstr ""
249
 
250
- #: admin/anr-admin-class.php:136
251
  msgid "Advanced noCaptcha reCaptcha Settings"
252
  msgstr ""
253
 
254
- #: admin/anr-admin-class.php:137
255
  #, php-format
256
  msgid ""
257
  "If you like this plugin please <a href='%s' target='_blank'>Review in "
258
  "Wordpress.org</a> and give 5 star"
259
  msgstr ""
260
 
261
- #: admin/anr-admin-class.php:141
262
  msgid "Setting"
263
  msgstr ""
264
 
265
- #: admin/anr-admin-class.php:141
266
  msgid "Value"
267
  msgstr ""
268
 
269
- #: admin/anr-admin-class.php:143
270
  msgid "Site Key"
271
  msgstr ""
272
 
273
- #: admin/anr-admin-class.php:144
274
  msgid "Secret key"
275
  msgstr ""
276
 
277
- #: admin/anr-admin-class.php:146
278
  msgid "Language"
279
  msgstr ""
280
 
281
- #: admin/anr-admin-class.php:155
282
  msgid "Theme"
283
  msgstr ""
284
 
285
  #: admin/anr-admin-class.php:161
 
 
 
 
 
 
 
 
286
  msgid "Size"
287
  msgstr ""
288
 
289
  #: admin/anr-admin-class.php:167
290
- msgid "Error Message"
 
 
 
 
291
  msgstr ""
292
 
293
  #: admin/anr-admin-class.php:169
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
294
  msgid "Show Captcha on"
295
  msgstr ""
296
 
297
- #: admin/anr-admin-class.php:186
298
  msgid "Hide Captcha for logged in users?"
299
  msgstr ""
300
 
301
- #: admin/anr-admin-class.php:187
302
  msgid "Remove this plugin's css from login page?"
303
  msgstr ""
304
 
305
- #: admin/anr-admin-class.php:187
306
  msgid "This css increase login page width to adjust with Captcha width."
307
  msgstr ""
308
 
309
- #: admin/anr-admin-class.php:188
310
  msgid "Show captcha if javascript disabled?"
311
  msgstr ""
312
 
313
- #: admin/anr-admin-class.php:188
314
  msgid ""
315
  "If JavaScript is a requirement for your site, we advise that you do NOT "
316
  "check this."
317
  msgstr ""
318
 
319
- #: admin/anr-admin-class.php:189
320
  msgid "Save Options"
321
  msgstr ""
322
 
323
- #: admin/anr-admin-class.php:192 admin/anr-admin-class.php:281
324
  #, php-format
325
  msgid ""
326
  "For paid support pleasse visit <a href='%s' target='_blank'>Advanced "
327
  "noCaptcha reCaptcha</a>"
328
  msgstr ""
329
 
330
- #: admin/anr-admin-class.php:205
331
  msgid "Plugin Author"
332
  msgstr ""
333
 
334
- #: admin/anr-admin-class.php:230
335
  msgid "No Permission!"
336
  msgstr ""
337
 
338
- #: admin/anr-admin-class.php:234
339
  msgid "Sorry, your nonce did not verify!"
340
  msgstr ""
341
 
342
- #: admin/anr-admin-class.php:267
343
  msgid "Advanced noCaptcha reCaptcha Setup Instruction"
344
  msgstr ""
345
 
346
- #: admin/anr-admin-class.php:269
347
  #, php-format
348
  msgid ""
349
  "Get your site key and secret key from <a href='%s' target='_blank'>GOOGLE</"
350
  "a> if you do not have already."
351
  msgstr ""
352
 
353
- #: admin/anr-admin-class.php:270
354
  msgid "Goto SETTINGS page of this plugin and set up as you need. and ENJOY..."
355
  msgstr ""
356
 
357
- #: admin/anr-admin-class.php:272
358
  msgid "Implement noCaptcha in Contact Form 7"
359
  msgstr ""
360
 
361
- #: admin/anr-admin-class.php:273
362
  msgid "To show noCaptcha use "
363
  msgstr ""
364
 
365
- #: admin/anr-admin-class.php:275
366
  msgid "Implement noCaptcha in WooCommerce"
367
  msgstr ""
368
 
369
- #: admin/anr-admin-class.php:276
370
  msgid ""
371
  "If Login Form, Registration Form, Lost Password Form, Reset Password Form is "
372
- "selected in SETTINGS page of this plugin they will show and varify Captcha "
373
  "in WooCommerce respective forms also."
374
  msgstr ""
375
 
376
- #: admin/anr-admin-class.php:278
377
  msgid "If you want to implement noCaptcha in any other custom form"
378
  msgstr ""
379
 
380
- #: admin/anr-admin-class.php:279
381
  msgid "To show form field use "
382
  msgstr ""
383
 
384
- #: admin/anr-admin-class.php:280
385
  msgid "To verify use "
386
  msgstr ""
387
 
388
- #: anr-captcha-class.php:215 anr-captcha-class.php:246
 
 
 
 
389
  msgid "<strong>ERROR</strong>: "
390
  msgstr ""
1
  msgid ""
2
  msgstr ""
3
+ "Project-Id-Version: Advanced noCaptcha reCaptcha 2.5\n"
4
+ "POT-Creation-Date: 2018-04-12 17:19+0600\n"
5
+ "PO-Revision-Date: 2018-04-12 17:20+0600\n"
6
  "Last-Translator: \n"
7
  "Language-Team: Shamim\n"
8
  "Language: en_US\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 2.0.4\n"
13
  "X-Poedit-Basepath: ..\n"
14
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
15
  "X-Poedit-KeywordsList: __;_e\n"
16
  "X-Poedit-SearchPath-0: .\n"
17
 
18
+ #: admin/anr-admin-class.php:45
19
+ msgid "Advanced noCaptcha & invisible captcha Settings"
20
  msgstr ""
21
 
22
+ #: admin/anr-admin-class.php:45
23
+ msgid "Advanced noCaptcha & invisible captcha"
24
  msgstr ""
25
 
26
+ #: admin/anr-admin-class.php:61
27
  msgid "Auto Detect"
28
  msgstr ""
29
 
30
+ #: admin/anr-admin-class.php:62
31
  msgid "Arabic"
32
  msgstr ""
33
 
34
+ #: admin/anr-admin-class.php:63
35
  msgid "Bulgarian"
36
  msgstr ""
37
 
38
+ #: admin/anr-admin-class.php:64
39
  msgid "Catalan"
40
  msgstr ""
41
 
42
+ #: admin/anr-admin-class.php:65
43
  msgid "Chinese (Simplified)"
44
  msgstr ""
45
 
46
+ #: admin/anr-admin-class.php:66
47
  msgid "Chinese (Traditional)"
48
  msgstr ""
49
 
50
+ #: admin/anr-admin-class.php:67
51
  msgid "Croatian"
52
  msgstr ""
53
 
54
+ #: admin/anr-admin-class.php:68
55
  msgid "Czech"
56
  msgstr ""
57
 
58
+ #: admin/anr-admin-class.php:69
59
  msgid "Danish"
60
  msgstr ""
61
 
62
+ #: admin/anr-admin-class.php:70
63
  msgid "Dutch"
64
  msgstr ""
65
 
66
+ #: admin/anr-admin-class.php:71
67
  msgid "English (UK)"
68
  msgstr ""
69
 
70
+ #: admin/anr-admin-class.php:72
71
  msgid "English (US)"
72
  msgstr ""
73
 
74
+ #: admin/anr-admin-class.php:73
75
  msgid "Filipino"
76
  msgstr ""
77
 
78
+ #: admin/anr-admin-class.php:74
79
  msgid "Finnish"
80
  msgstr ""
81
 
82
+ #: admin/anr-admin-class.php:75
83
  msgid "French"
84
  msgstr ""
85
 
86
+ #: admin/anr-admin-class.php:76
87
  msgid "French (Canadian)"
88
  msgstr ""
89
 
90
+ #: admin/anr-admin-class.php:77
91
  msgid "German"
92
  msgstr ""
93
 
94
+ #: admin/anr-admin-class.php:78
95
  msgid "German (Austria)"
96
  msgstr ""
97
 
98
+ #: admin/anr-admin-class.php:79
99
  msgid "German (Switzerland)"
100
  msgstr ""
101
 
102
+ #: admin/anr-admin-class.php:80
103
  msgid "Greek"
104
  msgstr ""
105
 
106
+ #: admin/anr-admin-class.php:81
107
  msgid "Hebrew"
108
  msgstr ""
109
 
110
+ #: admin/anr-admin-class.php:82
111
  msgid "Hindi"
112
  msgstr ""
113
 
114
+ #: admin/anr-admin-class.php:83
115
  msgid "Hungarain"
116
  msgstr ""
117
 
118
+ #: admin/anr-admin-class.php:84
119
  msgid "Indonesian"
120
  msgstr ""
121
 
122
+ #: admin/anr-admin-class.php:85
123
  msgid "Italian"
124
  msgstr ""
125
 
126
+ #: admin/anr-admin-class.php:86
127
  msgid "Japanese"
128
  msgstr ""
129
 
130
+ #: admin/anr-admin-class.php:87
131
  msgid "Korean"
132
  msgstr ""
133
 
134
+ #: admin/anr-admin-class.php:88
135
  msgid "Latvian"
136
  msgstr ""
137
 
138
+ #: admin/anr-admin-class.php:89
139
  msgid "Lithuanian"
140
  msgstr ""
141
 
142
+ #: admin/anr-admin-class.php:90
143
  msgid "Norwegian"
144
  msgstr ""
145
 
146
+ #: admin/anr-admin-class.php:91
147
  msgid "Persian"
148
  msgstr ""
149
 
150
+ #: admin/anr-admin-class.php:92
151
  msgid "Polish"
152
  msgstr ""
153
 
154
+ #: admin/anr-admin-class.php:93
155
  msgid "Portuguese"
156
  msgstr ""
157
 
158
+ #: admin/anr-admin-class.php:94
159
  msgid "Portuguese (Brazil)"
160
  msgstr ""
161
 
162
+ #: admin/anr-admin-class.php:95
163
  msgid "Portuguese (Portugal)"
164
  msgstr ""
165
 
166
+ #: admin/anr-admin-class.php:96
167
  msgid "Romanian"
168
  msgstr ""
169
 
170
+ #: admin/anr-admin-class.php:97
171
  msgid "Russian"
172
  msgstr ""
173
 
174
+ #: admin/anr-admin-class.php:98
175
  msgid "Serbian"
176
  msgstr ""
177
 
178
+ #: admin/anr-admin-class.php:99
179
  msgid "Slovak"
180
  msgstr ""
181
 
182
+ #: admin/anr-admin-class.php:100
183
  msgid "Slovenian"
184
  msgstr ""
185
 
186
+ #: admin/anr-admin-class.php:101
187
  msgid "Spanish"
188
  msgstr ""
189
 
190
+ #: admin/anr-admin-class.php:102
191
  msgid "Spanish (Latin America)"
192
  msgstr ""
193
 
194
+ #: admin/anr-admin-class.php:103
195
  msgid "Swedish"
196
  msgstr ""
197
 
198
+ #: admin/anr-admin-class.php:104
199
  msgid "Thai"
200
  msgstr ""
201
 
202
+ #: admin/anr-admin-class.php:105
203
  msgid "Turkish"
204
  msgstr ""
205
 
206
+ #: admin/anr-admin-class.php:106
207
  msgid "Ukrainian"
208
  msgstr ""
209
 
210
+ #: admin/anr-admin-class.php:107
211
  msgid "Vietnamese"
212
  msgstr ""
213
 
214
+ #: admin/anr-admin-class.php:112
215
  msgid "Login Form"
216
  msgstr ""
217
 
218
+ #: admin/anr-admin-class.php:113
219
  msgid "Registration Form"
220
  msgstr ""
221
 
222
+ #: admin/anr-admin-class.php:114
223
  msgid "Multisite User Signup Form"
224
  msgstr ""
225
 
226
+ #: admin/anr-admin-class.php:115
227
  msgid "Lost Password Form"
228
  msgstr ""
229
 
230
+ #: admin/anr-admin-class.php:116
231
  msgid "Reset Password Form"
232
  msgstr ""
233
 
234
+ #: admin/anr-admin-class.php:117
235
  msgid "Comment Form"
236
  msgstr ""
237
 
238
+ #: admin/anr-admin-class.php:118
239
  msgid "bbPress New topic"
240
  msgstr ""
241
 
242
+ #: admin/anr-admin-class.php:119
243
  msgid "bbPress reply to topic"
244
  msgstr ""
245
 
246
+ #: admin/anr-admin-class.php:120
247
+ msgid "WooCommerce Checkout"
248
+ msgstr ""
249
+
250
+ #: admin/anr-admin-class.php:130
251
  msgid "Options successfully saved."
252
  msgstr ""
253
 
254
+ #: admin/anr-admin-class.php:140
255
  msgid "Advanced noCaptcha reCaptcha Settings"
256
  msgstr ""
257
 
258
+ #: admin/anr-admin-class.php:141
259
  #, php-format
260
  msgid ""
261
  "If you like this plugin please <a href='%s' target='_blank'>Review in "
262
  "Wordpress.org</a> and give 5 star"
263
  msgstr ""
264
 
265
+ #: admin/anr-admin-class.php:145
266
  msgid "Setting"
267
  msgstr ""
268
 
269
+ #: admin/anr-admin-class.php:145
270
  msgid "Value"
271
  msgstr ""
272
 
273
+ #: admin/anr-admin-class.php:147
274
  msgid "Site Key"
275
  msgstr ""
276
 
277
+ #: admin/anr-admin-class.php:148
278
  msgid "Secret key"
279
  msgstr ""
280
 
281
+ #: admin/anr-admin-class.php:150
282
  msgid "Language"
283
  msgstr ""
284
 
285
+ #: admin/anr-admin-class.php:159
286
  msgid "Theme"
287
  msgstr ""
288
 
289
  #: admin/anr-admin-class.php:161
290
+ msgid "Light"
291
+ msgstr ""
292
+
293
+ #: admin/anr-admin-class.php:162
294
+ msgid "Dark"
295
+ msgstr ""
296
+
297
+ #: admin/anr-admin-class.php:165
298
  msgid "Size"
299
  msgstr ""
300
 
301
  #: admin/anr-admin-class.php:167
302
+ msgid "Normal"
303
+ msgstr ""
304
+
305
+ #: admin/anr-admin-class.php:168
306
+ msgid "Compact"
307
  msgstr ""
308
 
309
  #: admin/anr-admin-class.php:169
310
+ msgid "Invisible"
311
+ msgstr ""
312
+
313
+ #: admin/anr-admin-class.php:172
314
+ msgid ""
315
+ "For invisible captcha set this as Invisible. Make sure to use site key and "
316
+ "secret key for invisible captcha"
317
+ msgstr ""
318
+
319
+ #: admin/anr-admin-class.php:175
320
+ msgid "Badge"
321
+ msgstr ""
322
+
323
+ #: admin/anr-admin-class.php:177
324
+ msgid "Bottom Right"
325
+ msgstr ""
326
+
327
+ #: admin/anr-admin-class.php:178
328
+ msgid "Bottom Left"
329
+ msgstr ""
330
+
331
+ #: admin/anr-admin-class.php:179
332
+ msgid "Inline"
333
+ msgstr ""
334
+
335
+ #: admin/anr-admin-class.php:182
336
+ msgid "Badge shows for invisible captcha"
337
+ msgstr ""
338
+
339
+ #: admin/anr-admin-class.php:185
340
+ msgid "Error Message"
341
+ msgstr ""
342
+
343
+ #: admin/anr-admin-class.php:187
344
  msgid "Show Captcha on"
345
  msgstr ""
346
 
347
+ #: admin/anr-admin-class.php:206
348
  msgid "Hide Captcha for logged in users?"
349
  msgstr ""
350
 
351
+ #: admin/anr-admin-class.php:207
352
  msgid "Remove this plugin's css from login page?"
353
  msgstr ""
354
 
355
+ #: admin/anr-admin-class.php:207
356
  msgid "This css increase login page width to adjust with Captcha width."
357
  msgstr ""
358
 
359
+ #: admin/anr-admin-class.php:208
360
  msgid "Show captcha if javascript disabled?"
361
  msgstr ""
362
 
363
+ #: admin/anr-admin-class.php:208
364
  msgid ""
365
  "If JavaScript is a requirement for your site, we advise that you do NOT "
366
  "check this."
367
  msgstr ""
368
 
369
+ #: admin/anr-admin-class.php:209
370
  msgid "Save Options"
371
  msgstr ""
372
 
373
+ #: admin/anr-admin-class.php:212 admin/anr-admin-class.php:301
374
  #, php-format
375
  msgid ""
376
  "For paid support pleasse visit <a href='%s' target='_blank'>Advanced "
377
  "noCaptcha reCaptcha</a>"
378
  msgstr ""
379
 
380
+ #: admin/anr-admin-class.php:225
381
  msgid "Plugin Author"
382
  msgstr ""
383
 
384
+ #: admin/anr-admin-class.php:250
385
  msgid "No Permission!"
386
  msgstr ""
387
 
388
+ #: admin/anr-admin-class.php:254
389
  msgid "Sorry, your nonce did not verify!"
390
  msgstr ""
391
 
392
+ #: admin/anr-admin-class.php:287
393
  msgid "Advanced noCaptcha reCaptcha Setup Instruction"
394
  msgstr ""
395
 
396
+ #: admin/anr-admin-class.php:289
397
  #, php-format
398
  msgid ""
399
  "Get your site key and secret key from <a href='%s' target='_blank'>GOOGLE</"
400
  "a> if you do not have already."
401
  msgstr ""
402
 
403
+ #: admin/anr-admin-class.php:290
404
  msgid "Goto SETTINGS page of this plugin and set up as you need. and ENJOY..."
405
  msgstr ""
406
 
407
+ #: admin/anr-admin-class.php:292
408
  msgid "Implement noCaptcha in Contact Form 7"
409
  msgstr ""
410
 
411
+ #: admin/anr-admin-class.php:293
412
  msgid "To show noCaptcha use "
413
  msgstr ""
414
 
415
+ #: admin/anr-admin-class.php:295
416
  msgid "Implement noCaptcha in WooCommerce"
417
  msgstr ""
418
 
419
+ #: admin/anr-admin-class.php:296
420
  msgid ""
421
  "If Login Form, Registration Form, Lost Password Form, Reset Password Form is "
422
+ "selected in SETTINGS page of this plugin they will show and verify Captcha "
423
  "in WooCommerce respective forms also."
424
  msgstr ""
425
 
426
+ #: admin/anr-admin-class.php:298
427
  msgid "If you want to implement noCaptcha in any other custom form"
428
  msgstr ""
429
 
430
+ #: admin/anr-admin-class.php:299
431
  msgid "To show form field use "
432
  msgstr ""
433
 
434
+ #: admin/anr-admin-class.php:300
435
  msgid "To verify use "
436
  msgstr ""
437
 
438
+ #: admin/anr-admin-class.php:312
439
+ msgid "Settings"
440
+ msgstr ""
441
+
442
+ #: anr-captcha-class.php:259 anr-captcha-class.php:290
443
  msgid "<strong>ERROR</strong>: "
444
  msgstr ""
readme.txt CHANGED
@@ -1,23 +1,22 @@
1
- === Advanced noCaptcha reCaptcha ===
2
  Contributors: shamim51
3
- Tags: recaptcha,nocaptcha,no captcha,bot,spam,captcha,contact form 7 captcha,woocommerce captcha,woocommerce nocaptcha, woocommerce,widget,plugin,sidebar,shortcode,page,posts,comments,google,bbpress,multisite,multiple
4
  Donate link: https://www.paypal.me/hasanshamim
5
  Requires at least: 4.4
6
- Tested up to: 4.8.2
7
- Stable tag: 2.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
11
- Show noCaptcha in Comment (after Comment textarea before submit button), Contact Form 7, bbpress, woocommerce, Login, Register, Lost & Reset Password.
12
 
13
  == Description ==
14
 
15
- Show noCaptcha in Comment Form (after Comment textarea before submit button), Contact Form 7, bbPress, woocommerce, Login, Register, Lost Password, Reset Password. Also can implement in any other form easily. **Allow multiple captcha in same page.**
16
 
17
  = Show noCaptcha on =
18
 
19
  * Comment Form (after Comment textarea before submit button)
20
- * Contact Form 7
21
  * WooCommerce
22
  * Login
23
  * Register
@@ -32,7 +31,8 @@ Show noCaptcha in Comment Form (after Comment textarea before submit button), Co
32
 
33
  * Language can be changed
34
  * Theme can be changed
35
- * Size can be changed
 
36
  * Error message can be changed
37
  * Option to show/hide captcha for logged in users
38
  * Captcha will show if javascript disabled also (optional)
@@ -52,6 +52,9 @@ Yes. this plugin is translate ready. But If your language is not available you c
52
  = Can i show multiple captcha in same page? =
53
  Yes. You can show unlimited number of captcha in same page.
54
 
 
 
 
55
 
56
  == Screenshots ==
57
 
@@ -66,6 +69,12 @@ Yes. You can show unlimited number of captcha in same page.
66
 
67
  == Changelog ==
68
 
 
 
 
 
 
 
69
  = 2.4 =
70
 
71
  * Bug fix: WooCommerce lostpassword corrupted link
@@ -108,6 +117,11 @@ Yes. You can show unlimited number of captcha in same page.
108
 
109
  == Upgrade Notice ==
110
 
 
 
 
 
 
111
  = 2.4 =
112
 
113
  * Bug fix: WooCommerce lostpassword corrupted link
1
+ === Advanced noCaptcha & invisible Captcha ===
2
  Contributors: shamim51
3
+ Tags: recaptcha,nocaptcha,invisible,no captcha,bot,spam,captcha,woocommerce captcha,woocommerce nocaptcha, woocommerce,widget,plugin,sidebar,shortcode,page,posts,comments,google,bbpress,multisite,multiple
4
  Donate link: https://www.paypal.me/hasanshamim
5
  Requires at least: 4.4
6
+ Tested up to: 4.9.5
7
+ Stable tag: 2.5
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
11
+ Show noCaptchan or invisible captcha in Comment (after Comment textarea before submit button), bbpress, woocommerce, Login, Register, Lost & Reset Password.
12
 
13
  == Description ==
14
 
15
+ Show noCaptcha or invisible captcha in Comment Form (after Comment textarea before submit button), bbPress, woocommerce, Login, Register, Lost Password, Reset Password. Also can implement in any other form easily. **Allow multiple captcha in same page.**
16
 
17
  = Show noCaptcha on =
18
 
19
  * Comment Form (after Comment textarea before submit button)
 
20
  * WooCommerce
21
  * Login
22
  * Register
31
 
32
  * Language can be changed
33
  * Theme can be changed
34
+ * Size can be changed or set as invisible
35
+ * Badge location can be changed
36
  * Error message can be changed
37
  * Option to show/hide captcha for logged in users
38
  * Captcha will show if javascript disabled also (optional)
52
  = Can i show multiple captcha in same page? =
53
  Yes. You can show unlimited number of captcha in same page.
54
 
55
+ = How to set Invisible captcha? =
56
+ Make sure to obtain key for invisible captcha from google. Go to Dashboard > Settings > Advanced noCaptcha & invisible captcha > Size ( Set as Invisible )
57
+
58
 
59
  == Screenshots ==
60
 
69
 
70
  == Changelog ==
71
 
72
+ = 2.5 =
73
+
74
+ * New: Invisible captcha feature added.
75
+ * Fix: Show captcha error when login form loaded
76
+ * Move this plugin settings page under Settings
77
+
78
  = 2.4 =
79
 
80
  * Bug fix: WooCommerce lostpassword corrupted link
117
 
118
  == Upgrade Notice ==
119
 
120
+ = 2.5 =
121
+
122
+ * New: Invisible captcha feature added.
123
+ * Fix: Show captcha error when login form loaded
124
+
125
  = 2.4 =
126
 
127
  * Bug fix: WooCommerce lostpassword corrupted link
style/style.css CHANGED
File without changes