[wp-meta] [Making WordPress.org] #6770: Don't enqueue zxcvbn.min.js when not needed

Making WordPress.org noreply at wordpress.org
Tue Feb 21 03:13:21 UTC 2023


#6770: Don't enqueue zxcvbn.min.js when not needed
-----------------------------+-----------------------
 Reporter:  jonoaldersonwp   |       Owner:  (none)
     Type:  defect (bug)     |      Status:  reopened
 Priority:  high             |   Milestone:
Component:  General          |  Resolution:
 Keywords:  seo performance  |
-----------------------------+-----------------------
Changes (by adamwood):

 * status:  closed => reopened
 * resolution:  reported-upstream =>


Comment:

 After changing the script enqueueing from 'script' to 'viewScript' in
 https://github.com/WordPress/wporg-two-factor/issues/35, the dependencies
 are no longer loaded at all, resulting in a JS crash on the 2FA TOTP
 screen at
 https://wordpress.org/support/users/{username}/edit/account/?screen=totp

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/6770#comment:4>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list