[wp-trac] [WordPress Trac] #33908: Fix reset password generator
WordPress Trac
noreply at wordpress.org
Thu Sep 17 05:54:17 UTC 2015
#33908: Fix reset password generator
--------------------------+-----------------------------
Reporter: ldinclaux | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: trunk
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
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.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33908>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list