Make WordPress Core

Opened 10 years ago

Closed 10 years ago

#37902 closed defect (bug) (fixed)

Cancelling password when adding a new user results in error

Reported by: smerriman Owned by: SergeyBiryukov
Priority: normal Milestone: 4.7
Component: Users Version: 4.3
Severity: normal Keywords:
Cc: Focuses:

Description

1) Go to Users - Add New.
2) Fill in a Username + Email
3) Click Show Password, then click Cancel
4) Click Add New User.

A user won't be created, with the error "ERROR: Please enter a password.", even though the same process works if you skip step 3.

I believe this was caused by [33980], in which case that should have only been applied to editing a user, not creating one.

Change History (2)

#1 @SergeyBiryukov
10 years ago

  • Milestone Awaiting Review → 4.7

#2 @SergeyBiryukov
10 years ago

  • Owner set to SergeyBiryukov
  • Resolution → fixed
  • Status new → closed

In 38494:

Users: After [33766], don't reset the password when clicking "Show Password" and then "Cancel" on Add New User screen.

Props smerriman for reporting.
Fixes #37902. See #33419.

Note: See TracTickets for help on using tickets.