Changeset 14511 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login/functions-registration.php
- Timestamp:
- 08/12/2025 03:56:25 AM (4 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login/functions-registration.php
r14456 r14511 132 132 $passes_block_words 133 133 ); 134 135 // If the signup has a bypass-spam-checks token, approve it. 136 if ( ! $pending_user['cleared'] && wporg_reg_has_signup_token( $pending_user ) ) { 137 $pending_user['cleared'] = 1; 138 $pending_user['meta']['bypass'] = 'yes'; 139 } 134 140 135 141 $inserted = wporg_update_pending_user( $pending_user ); … … 498 504 } 499 505 506 // If the signup has a bypass-spam-checks token, approve it. 507 if ( ! $pending_user['cleared'] && wporg_reg_has_signup_token( $pending_user ) ) { 508 $pending_user['cleared'] = 1; 509 $pending_user['meta']['bypass'] = 'yes'; 510 } 511 500 512 if ( $pending_user ) { 501 513 wporg_update_pending_user( $pending_user );
Note: See TracChangeset
for help on using the changeset viewer.