Changeset 11081 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login/functions-restapi.php
- Timestamp:
- 06/30/2021 12:25:52 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login/functions-restapi.php
r10941 r11081 33 33 34 34 function wporg_login_rest_username_exists( $request ) { 35 $login = trim( $request['login']);35 $login = trim( urldecode( $request['login'] ) ); 36 36 37 37 $validate_signup = wpmu_validate_user_signup( $login, 'placeholder@placeholder.domain' ); … … 73 73 74 74 function wporg_login_rest_email_in_use( $request ) { 75 $email = trim( $request['email']);75 $email = trim( urldecode( $request['email'] ) ); 76 76 77 77 if ( $user = get_user_by( 'email', $email ) ) {
Note: See TracChangeset
for help on using the changeset viewer.