WordPress.org

Make WordPress Core

Opened 7 months ago

Last modified 7 months ago

#47064 new defect (bug)

User Profile

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

Description

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 7 months ago.

Download all attachments as: .zip

Change History (3)

@Yoonic
7 months ago

#1 @yoonic
7 months 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.