Make WordPress Core

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: robert.peake Owned by:
Priority: normal Milestone: Awaiting Review
Component: Users Version: 5.2.1
Severity: minor Keywords:
Cc: Focuses:

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.

Change History (0)

Note: See TracTickets for help on using tickets.