Version Description
- Reset captcha if CF7 validation error occur
- Changed Tested up to
Download this release
Release Info
Developer | shamim51 |
Plugin | Advanced noCaptcha & invisible Captcha |
Version | 4.3 |
Comparing to | |
See all releases |
Code changes from version 4.2 to 4.3
- advanced-nocaptcha-recaptcha.php +2 -2
- anr-captcha-class.php +5 -0
- readme.txt +7 -2
advanced-nocaptcha-recaptcha.php
CHANGED
@@ -3,14 +3,14 @@
|
|
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, bbPress, BuddyPress, WooCommerce, CF7, Login, Register, Lost Password, Reset Password. Also can implement in any other form easily.
|
6 |
-
Version: 4.
|
7 |
Author: Shamim Hasan
|
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_VERSION', '4.
|
14 |
define( 'ANR_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
|
15 |
define( 'ANR_PLUGIN_URL', plugins_url( '/', __FILE__ ) );
|
16 |
|
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, bbPress, BuddyPress, WooCommerce, CF7, Login, Register, Lost Password, Reset Password. Also can implement in any other form easily.
|
6 |
+
Version: 4.3
|
7 |
Author: Shamim Hasan
|
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_VERSION', '4.3' );
|
14 |
define( 'ANR_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
|
15 |
define( 'ANR_PLUGIN_URL', plugins_url( '/', __FILE__ ) );
|
16 |
|
anr-captcha-class.php
CHANGED
@@ -203,6 +203,11 @@ if ( ! class_exists( 'anr_captcha_class' ) ) {
|
|
203 |
grecaptcha.reset(anr_captcha_<?php echo $num; ?>);
|
204 |
});
|
205 |
}
|
|
|
|
|
|
|
|
|
|
|
206 |
<?php } ?>
|
207 |
};
|
208 |
</script>
|
203 |
grecaptcha.reset(anr_captcha_<?php echo $num; ?>);
|
204 |
});
|
205 |
}
|
206 |
+
if ( typeof wpcf7 !== 'undefined' ) {
|
207 |
+
document.addEventListener( 'wpcf7submit', function() {
|
208 |
+
grecaptcha.reset(anr_captcha_<?php echo $num; ?>);
|
209 |
+
}, false );
|
210 |
+
}
|
211 |
<?php } ?>
|
212 |
};
|
213 |
</script>
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ 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: 5.
|
7 |
-
Stable tag: 4.
|
8 |
Requires PHP: 5.4
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
@@ -82,6 +82,11 @@ To show noCaptcha use [anr_nocaptcha g-recaptcha-response]
|
|
82 |
|
83 |
== Changelog ==
|
84 |
|
|
|
|
|
|
|
|
|
|
|
85 |
= 4.2 =
|
86 |
|
87 |
* BuddyPress mentioned in readme
|
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: 5.1
|
7 |
+
Stable tag: 4.3
|
8 |
Requires PHP: 5.4
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
82 |
|
83 |
== Changelog ==
|
84 |
|
85 |
+
= 4.3 =
|
86 |
+
|
87 |
+
* Reset captcha if CF7 validation error occur
|
88 |
+
* Changed Tested up to
|
89 |
+
|
90 |
= 4.2 =
|
91 |
|
92 |
* BuddyPress mentioned in readme
|