-
Notifications
You must be signed in to change notification settings - Fork 3k
Ticket/17904 #8907
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ticket/17904 #8907
Conversation
…e context and add a new parameter to return a WP_Error instead of a boolean. * Add min and max length restriction * Allow usernames with characters a-z 0-9 _ . - @ * Reject illegal names (multisite only) * Reject illegal logins * Username must contain at least one letter (multisite only)
New function to perform the wp_signups query in multisite. The query previously happened in `wpmu_validate_user_signup()`. On single site there is only a filter.
New function that acts as a wrapper calling `validate_username()`, `username_exists()` and `is_username_reserved()`. This function can be use to validate login for new users on single and multisite.
… in `validate_username()`
Replace `current_time()` with `time()` as per WordPress Coding Standards.
Co-authored-by: David B <[email protected]>
Co-authored-by: David B <[email protected]>
…s-controller.php Co-authored-by: David B <[email protected]>
Co-authored-by: David B <[email protected]>
…with a hyphen. Co-authored-by: Peter Wilson <[email protected]>
…with a hyphen. Co-authored-by: Peter Wilson <[email protected]>
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the Core Committers: Use this line as a base for the props when committing in SVN:
To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
Trac ticket:
This Pull Request is for code review only. Please keep all other discussion in the Trac ticket. Do not merge this Pull Request. See GitHub Pull Requests for Code Review in the Core Handbook for more details.