Changeset 11073 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login/functions-registration.php
- Timestamp:
- 06/29/2021 03:33:09 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login/functions-registration.php
r10990 r11073 367 367 ) { 368 368 // Validate the email 369 $error_user_email = rest_do_request( new WP_REST_Request( 'GET', '/wporg/v1/email-in-use/' . $new_email) );369 $error_user_email = rest_do_request( new WP_REST_Request( 'GET', '/wporg/v1/email-in-use/' . urlencode( $new_email ) ) ); 370 370 if ( $error_user_email->get_data()['available'] ) { 371 371 // Change their email, resend confirmation.
Note: See TracChangeset
for help on using the changeset viewer.