Make WordPress Core

Opened 8 years ago

Last modified 5 years ago

#35017 new defect (bug)

Bug in bindPasswordForm() LastPass mismatch issue

Reported by: amandala's profile amandala Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.4
Component: Users Keywords:
Focuses: Cc:



Using Wordpress 4.4

I seem to have found a small bug in the file wp-admin/js/user-profile.js (user-profile.min.js).
The theme that I am customizing has a front end profile editor. When the user navigates to the editor and attempts to update their password, if typing in the first password text box updates the second with only the first character of the string entered. This bit of javascript is meant to handle LastPass input, but breaks regular text entry. It seems that the javascript that is bound to the first text box is bound on input, when it should be bound on a paste event perhaps? I have included a jsfiddle to demonstrate the issue.

My apologies if this is not sufficient information to diagnose. Please feel free to ask for any additional information that might be helpful.

Change History (1)

#1 @erwinwessels
8 years ago

Just bumped into this one myself; turns out it's (surprise) a broken plugin. The reset password functionality significantly changed, and the plugin I was using (Theme My Login) apparently wasn't compatible. Disabling the plugin made the problem go away.

Edit: copy the updated resetpass-form.php from this plugin, if that causes your issue.

Last edited 8 years ago by erwinwessels (previous) (diff)
Note: See TracTickets for help on using tickets.