Changeset 10901 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login/register.php
- Timestamp:
- 04/14/2021 04:49:37 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login/register.php
r10900 r10901 36 36 if ( ! wporg_login_check_recapcha_status( 'register' ) ) { 37 37 $error_recapcha_status = true; 38 } elseif ( 'OK' !== wporg_login_check_akismet( $user_login, $user_email ) ) {39 $error_akismet = true;40 38 } else { 41 wporg_login_create_pending_user( $user_login, $user_email, $user_mailinglist, $terms_of_service ); 42 die(); 39 $akismet = wporg_login_check_akismet( $user_login, $user_email ); 40 41 $tos_meta_key = WPOrg_SSO::TOS_USER_META_KEY; 42 $meta = [ 43 'user_mailinglist' => $user_mailinglist, 44 'akismet_result' => $akismet, 45 $tos_meta_key => $terms_of_service, 46 ]; 47 48 if ( 'spam' === $akismet ) { 49 $error_akismet = true; 50 } else { 51 wporg_login_create_pending_user( $user_login, $user_email, $meta ); 52 die(); 53 } 43 54 } 44 55 }
Note: See TracChangeset
for help on using the changeset viewer.