Making WordPress.org

Opened 3 years ago

Last modified 3 years ago

#6770 closed defect (bug)

Don't enqueue zxcvbn.min.js when not needed — at Version 1

Reported by: jonoaldersonwp's profile jonoaldersonwp Owned by:
Milestone: Priority: high
Component: General Keywords: seo performance
Cc:

Description (last modified by jonoaldersonwp)

Plugin and theme pages load /wp-includes/js/zxcvbn.min.js (via zxcvbn-async), which is nearly 400kb(!).

It seems that this is a password strength-o-meter, which almost certainly isn't used on the front end on these pages/templates.

Can this be dequeued/removed?

Change History (1)

#1 @jonoaldersonwp
3 years ago

  • Description modified (diff)
Note: See TracTickets for help on using tickets.