[wp-trac] [WordPress Trac] #34905: zxcvbn() not defined (and making it impossible to edit an existing user)

WordPress Trac noreply at wordpress.org
Fri Jul 1 12:44:45 UTC 2016


#34905: zxcvbn() not defined (and making it impossible to edit an existing user)
------------------------------------+------------------------------
 Reporter:  wp-plugin@…             |       Owner:  adamsilverstein
     Type:  defect (bug)            |      Status:  closed
 Priority:  normal                  |   Milestone:  4.6
Component:  Users                   |     Version:  4.3.1
 Severity:  normal                  |  Resolution:  fixed
 Keywords:  commit has-screenshots  |     Focuses:  javascript
------------------------------------+------------------------------
Changes (by peterwilsoncc):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"37940"]:
 {{{
 #!CommitTicketReference repository="" revision="37940"
 Users: Check zxcvbn is defined before calling.

 Prevents JavaScript errors by checking zxcvbn is defined before calling.

 Changes `wp.passwordStrength.meter()` to return `-1` if the strength of
 the password is unknown.

 On the user profile screen, `generatePassword()` checks if the user has
 entered the password before setting the value of the password input box.

 Props peterwilsoncc, adamsilverstein.
 Fixes #34905.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34905#comment:24>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list