Version Description
- 09.04.2015 =
- Bugfix : We fixed the bug with captcha check for users from the list of exceptions.
Download this release
Release Info
Developer | bestwebsoft |
Plugin | Google Captcha (reCAPTCHA) by BestWebSoft |
Version | 1.15 |
Comparing to | |
See all releases |
Code changes from version 1.14 to 1.15
- google-captcha.php +10 -5
- readme.txt +7 -1
google-captcha.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Google Captcha (reCAPTCHA) by BestWebSoft
|
|
4 |
Plugin URI: http://bestwebsoft.com/products/
|
5 |
Description: Plugin Google Captcha intended to prove that the visitor is a human being and not a spam robot.
|
6 |
Author: BestWebSoft
|
7 |
-
Version: 1.
|
8 |
Author URI: http://bestwebsoft.com/
|
9 |
License: GPLv3 or later
|
10 |
*/
|
@@ -66,7 +66,7 @@ if ( ! function_exists( 'gglcptch_init' ) ) {
|
|
66 |
if ( '1' == $gglcptch_options['comments_form'] ) {
|
67 |
add_action( 'comment_form_after_fields', 'gglcptch_commentform_display' );
|
68 |
add_action( 'comment_form_logged_in_after', 'gglcptch_commentform_display' );
|
69 |
-
add_action( 'pre_comment_on_post', '
|
70 |
}
|
71 |
|
72 |
if ( '1' == $gglcptch_options['reset_pwd_form'] ) {
|
@@ -636,14 +636,19 @@ if ( ! function_exists( 'gglcptch_captcha_check' ) ) {
|
|
636 |
}
|
637 |
|
638 |
/* Check JS enabled for comment form */
|
639 |
-
if ( ! function_exists( '
|
640 |
-
function
|
641 |
if ( isset( $_POST['gglcptch_test_enable_js_field'] ) ) {
|
642 |
if ( wp_verify_nonce( $_POST['gglcptch_test_enable_js_field'], 'gglcptch_recaptcha_nonce' ) )
|
643 |
return;
|
644 |
-
else
|
|
|
|
|
645 |
gglcptch_lostpassword_check();
|
|
|
646 |
} else {
|
|
|
|
|
647 |
gglcptch_lostpassword_check();
|
648 |
}
|
649 |
}
|
4 |
Plugin URI: http://bestwebsoft.com/products/
|
5 |
Description: Plugin Google Captcha intended to prove that the visitor is a human being and not a spam robot.
|
6 |
Author: BestWebSoft
|
7 |
+
Version: 1.15
|
8 |
Author URI: http://bestwebsoft.com/
|
9 |
License: GPLv3 or later
|
10 |
*/
|
66 |
if ( '1' == $gglcptch_options['comments_form'] ) {
|
67 |
add_action( 'comment_form_after_fields', 'gglcptch_commentform_display' );
|
68 |
add_action( 'comment_form_logged_in_after', 'gglcptch_commentform_display' );
|
69 |
+
add_action( 'pre_comment_on_post', 'gglcptch_commentform_check' );
|
70 |
}
|
71 |
|
72 |
if ( '1' == $gglcptch_options['reset_pwd_form'] ) {
|
636 |
}
|
637 |
|
638 |
/* Check JS enabled for comment form */
|
639 |
+
if ( ! function_exists( 'gglcptch_commentform_check' ) ) {
|
640 |
+
function gglcptch_commentform_check() {
|
641 |
if ( isset( $_POST['gglcptch_test_enable_js_field'] ) ) {
|
642 |
if ( wp_verify_nonce( $_POST['gglcptch_test_enable_js_field'], 'gglcptch_recaptcha_nonce' ) )
|
643 |
return;
|
644 |
+
else {
|
645 |
+
if ( gglcptch_check_role() )
|
646 |
+
return;
|
647 |
gglcptch_lostpassword_check();
|
648 |
+
}
|
649 |
} else {
|
650 |
+
if ( gglcptch_check_role() )
|
651 |
+
return;
|
652 |
gglcptch_lostpassword_check();
|
653 |
}
|
654 |
}
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.2checkout.com/checkout/purchase?sid=1430388&quantity=1&
|
|
4 |
Tags: antispam, anti-spam, capcha, anti-spam security, arithmetic actions, captcha, captha, capcha, catcha, cpatcha, captcha theme, comment, digitize books, digitize newspapers, digitize radio shows, google, gogle, google captcha, login, lost password, re captcha, recaptcha, re-captcha, registration, shortcode, site keys, spam, text captcha.
|
5 |
Requires at least: 3.0
|
6 |
Tested up to: 4.2-beta4
|
7 |
-
Stable tag: 1.
|
8 |
License: GPLv3 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
@@ -150,6 +150,9 @@ Please make sure that the problem hasn't been discussed yet on our forum (<a hre
|
|
150 |
|
151 |
== Changelog ==
|
152 |
|
|
|
|
|
|
|
153 |
= V1.14 - 07.04.2015 =
|
154 |
* Bugfix : Captcha work with comments forms with disabled javascript was fixed.
|
155 |
* Bugfix : Check reCaptcha v2 in PHP version 5.6 and above was fixed.
|
@@ -220,6 +223,9 @@ Please make sure that the problem hasn't been discussed yet on our forum (<a hre
|
|
220 |
|
221 |
== Upgrade Notice ==
|
222 |
|
|
|
|
|
|
|
223 |
= V1.14 =
|
224 |
Captcha work with comments forms with disabled javascript was fixed. Check reCaptcha v2 in PHP version 5.6 and above was fixed. The Italian language file is added.
|
225 |
|
4 |
Tags: antispam, anti-spam, capcha, anti-spam security, arithmetic actions, captcha, captha, capcha, catcha, cpatcha, captcha theme, comment, digitize books, digitize newspapers, digitize radio shows, google, gogle, google captcha, login, lost password, re captcha, recaptcha, re-captcha, registration, shortcode, site keys, spam, text captcha.
|
5 |
Requires at least: 3.0
|
6 |
Tested up to: 4.2-beta4
|
7 |
+
Stable tag: 1.15
|
8 |
License: GPLv3 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
150 |
|
151 |
== Changelog ==
|
152 |
|
153 |
+
= V1.15 - 09.04.2015 =
|
154 |
+
* Bugfix : We fixed the bug with captcha check for users from the list of exceptions.
|
155 |
+
|
156 |
= V1.14 - 07.04.2015 =
|
157 |
* Bugfix : Captcha work with comments forms with disabled javascript was fixed.
|
158 |
* Bugfix : Check reCaptcha v2 in PHP version 5.6 and above was fixed.
|
223 |
|
224 |
== Upgrade Notice ==
|
225 |
|
226 |
+
= V1.15 =
|
227 |
+
We fixed the bug with captcha check for users from the list of exceptions.
|
228 |
+
|
229 |
= V1.14 =
|
230 |
Captcha work with comments forms with disabled javascript was fixed. Check reCaptcha v2 in PHP version 5.6 and above was fixed. The Italian language file is added.
|
231 |
|