Make WordPress Core

Opened 5 years ago

Last modified 5 years ago

#47064 new defect (bug)

User Profile

Reported by: jdan21's profile jdan21 Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.1.1
Component: Users Keywords: has-patch
Focuses: Cc:


Hi, there is a bug when updating someone's user's profile by leaving a required field blank.

Example leaving the nickname field as blank, it will show some error that you need to fill out the field. But when you refresh the page, the page will be "Invalid user ID.". The ?user_id in the url has been removed.

Thank you

Attachments (1)

47064.diff (2.8 KB) - added by Yoonic 5 years ago.

Download all attachments as: .zip

Change History (3)

5 years ago

#1 @yoonic
5 years ago

  • Keywords has-patch added
  • Severity changed from critical to normal

Hi jdan21,
I've created a patch (47064.diff), that ensures that the form can't be submitted with an empty nickname (and e-mail) at first hand.

Note: See TracTickets for help on using tickets.