Changeset 1202224
- Timestamp:
- 07/20/2015 11:43:27 AM (11 years ago)
- Location:
- no-captcha-recaptcha/trunk
- Files:
-
- 5 edited
-
comment-form.php (modified) (1 diff)
-
login.php (modified) (1 diff)
-
no-captcha-recaptcha.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
registration.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
no-captcha-recaptcha/trunk/comment-form.php
r1041394 r1202224 61 61 public static function validate_captcha_comment_field( $commentdata ) { 62 62 63 if ( isset( $_POST['g-recaptcha-response'] ) &&! (self::captcha_verification()) ) {63 if ( ! isset( $_POST['g-recaptcha-response'] ) || ! (self::captcha_verification()) ) { 64 64 self::$captcha_error = 'failed'; 65 65 } -
no-captcha-recaptcha/trunk/login.php
r1041394 r1202224 25 25 public static function validate_captcha( $user, $password ) { 26 26 27 if ( isset( $_POST['g-recaptcha-response'] ) &&! self::captcha_verification() ) {27 if ( ! isset( $_POST['g-recaptcha-response'] ) || ! self::captcha_verification() ) { 28 28 return new WP_Error( 'empty_captcha', self::$error_message ); 29 29 } -
no-captcha-recaptcha/trunk/no-captcha-recaptcha.php
r1042401 r1202224 5 5 Plugin URI: http://w3guy.com 6 6 Description: Protect WordPress login, registration and comment form from spam with the new No CAPTCHA reCAPTCHA 7 Version: 1.0. 17 Version: 1.0.2 8 8 Author: Agbonghama Collins 9 9 Author URI: http://w3guy.com -
no-captcha-recaptcha/trunk/readme.txt
r1047195 r1202224 1 1 === Plugin Name === 2 Contributors: adeptplus2 Contributors: collizo4sky, adeptplus 3 3 Donate link: https://flattr.com/submit/auto?user_id=tech4sky&url=http%3A%2F%2Fw3guy.com 4 4 Tags: comments, spam, login, registration, captcha, recaptcha, spammers, bot 5 5 Requires at least: 3.4 6 6 Tested up to: 4.0.1 7 Stable tag: 1.0. 17 Stable tag: 1.0.2 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 45 45 == Changelog == 46 46 47 = 1.0 = 47 = 1.0.2 = 48 * Fix error where Captcha could be bypassed by disabling Javascript 49 50 = 1.0.1 = 48 51 * Fixed header already sent error 49 52 -
no-captcha-recaptcha/trunk/registration.php
r1041394 r1202224 25 25 */ 26 26 public static function validate_captcha_registration_field( $errors, $sanitized_user_login, $user_email ) { 27 if ( isset( $_POST['g-recaptcha-response'] ) &&! self::captcha_verification() ) {27 if ( ! isset( $_POST['g-recaptcha-response'] ) || ! self::captcha_verification() ) { 28 28 $errors->add( 'failed_verification', self::$error_message ); 29 29 }
Note: See TracChangeset
for help on using the changeset viewer.