Opened 9 years ago
Closed 9 years ago
#33908 closed defect (bug) (fixed)
Fix reset password generator
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 4.4 | Priority: | normal |
Severity: | normal | Version: | 4.4 |
Component: | Login and Registration | Keywords: | |
Focuses: | Cc: |
Description
This is a follow up of #33892.
The class "user-pass1-wrap" exists on purpose. So the attached patch adds a wrapper with the "user-pass1-wrap" class in the reset password form.
Doing this leveraged a bug in wp-admin/js/user-profile.js that is hiding the "user-pass1-wrap" div on purpose: its visibility has to be toggled by the "Generate" button.
But, because that button doesn't exists in the reset password form, the password fields stay hidden.
In short, all this was working properly only because there was a semantic error in the reset password form...
The attached patch fixes it all.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
Fix