Skip to content

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

Closed
wants to merge 23 commits into from
Closed

Ticket/17904 #8907

wants to merge 23 commits into from

Conversation

Rahe
Copy link

@Rahe Rahe commented Jun 5, 2025

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.

petitphp and others added 23 commits July 15, 2024 15:11
…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.
Replace `current_time()` with `time()` as per WordPress Coding Standards.
@Rahe Rahe closed this Jun 5, 2025
Copy link

github-actions bot commented Jun 5, 2025

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 props-bot label.

Core Committers: Use this line as a base for the props when committing in SVN:

Props petitphp, audrasjb.

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants