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

WordPress Trac noreply at wordpress.org
Thu Dec 10 16:01:42 UTC 2015


#34905: zxcvbn() not defined (and making it impossible to edit an existing user)
--------------------------+------------------------------
 Reporter:  wp-plugin@…   |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Users         |     Version:  4.3.1
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:  javascript
--------------------------+------------------------------

Comment (by adamsilverstein):

 Replying to [comment:3 peterwilsoncc]:

 > PROPOSED SOLUTION: `wp.passwordStrength.meter` fails gracefully if
 `zxcvbn` is undefined.

 Could we have the Generate Password button load disabled, then enable when
 zxcvbn is ready? That would make it clear to users the button wasn't
 clickable.  Also, I believe we already hide the generate password button
 if JavaScript is disabled.

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


More information about the wp-trac mailing list