Opened 16 years ago
Closed 16 years ago
#13124 closed enhancement (fixed)
Use the original username in signup validation
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | 3.0 | Priority: | normal |
| Severity: | normal | Version: | 3.0 |
| Component: | Users | Keywords: | users, signup |
| Focuses: | Cc: |
Description
During signup, the original username is lost if it contains any unusual characters because of the sanitize_user() call. This patch restores the username so the signup page shows the original username again. The signup form will display an error as well allowing the user to modify it.
The current behaviour returns a modified but acceptable username. Some users won't notice and create that user then get angry when they realise it has changed.
This patch also adds the original username to the $result array passed to the "wpmu_validate_user_signup" filter.
Attachments (1)
Change History (2)
Note: See
TracTickets for help on using
tickets.
(In [14298]) Display the original username on the signup form on error, fixes #13124