Making WordPress.org


Ignore:
Timestamp:
05/04/2021 06:35:00 AM (6 years ago)
Author:
dd32
Message:

Login: Avoid blocking a user signup via a recaptcha failure when the failure is probably caused by a double-submission..

The signup user will still have to successfully complete the signup again, but a double-submission of the form a second time is less likely.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login/functions.php

    r10947 r10948  
    349349                );
    350350                if ( is_wp_error( $resp ) || 200 != wp_remote_retrieve_response_code( $resp ) ) {
    351 
    352                         trigger_error( 'reCaptcha: ' . ( is_wp_error( $resp ) ? $resp->get_error_message() : wp_remote_retrieve_response_code( $resp ) . wp_remote_retrieve_body( $resp ) ), E_USER_NOTICE );
    353 
    354351                        $cache[ $cache_key ] = false;
    355352                        return false;
Note: See TracChangeset for help on using the changeset viewer.