Opened 7 years ago
#47408 new defect (bug)
At the time user_register fires, the user_login field in the database is actually set to user_nicename
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Awaiting Review | Priority: | normal |
| Severity: | minor | Version: | 5.2.1 |
| Component: | Users | Keywords: | |
| Focuses: | Cc: |
Description
It appears that user_login gets set to the correct login as defined in $_POST['reg_username'] (i.e. from the registration form) later in the registration sequence. As a result, functions hooking on user_register will receive confusing results from get_userdata and similar.
Note: See
TracTickets for help on using
tickets.