Making WordPress.org


Ignore:
Timestamp:
05/04/2021 05:57:01 AM (4 years ago)
Author:
dd32
Message:

Login: Add some debugging to figure out an error where reCaptcha v3 appears to fail for a small segment of signups.

File:
1 edited

Legend:

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

    r10928 r10947  
    7878            if ( $recaptcha_api && $recaptcha_api['success'] && 'pending_create' == $recaptcha_api['action'] ) {
    7979                $pending_user['scores']['create_attempt'] = $recaptcha_api['score'];
     80            } else {
     81                // Debug.
     82                $pending_user['meta']['recaptcha_debug'] = $recaptcha_api;
    8083            }
    8184        }
Note: See TracChangeset for help on using the changeset viewer.