Making WordPress.org

Changeset 11485


Ignore:
Timestamp:
01/28/2022 05:58:05 AM (3 years ago)
Author:
dd32
Message:

Login: reCaptcha: Check for the 'action' field being present, it should be, but appears on some very-very-low scores it's not.

File:
1 edited

Legend:

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

    r11484 r11485  
    1212            RECAPTCHA_V3_PRIVKEY
    1313        );
    14    
    15         // Debugging some Registration issues.
    16         if ( $result ) {
    17             slack_dm( var_export( compact( 'result', 'check_v3_action' ), true ), '@dd32' );
    18         }
    1914
    2015        if (
    2116            ! $result ||
    2217            ! $result['success'] ||
     18            empty( $result['action'] ) ||
    2319            $check_v3_action !== $result['action']
    2420        ) {
Note: See TracChangeset for help on using the changeset viewer.