Ticket for: User Verification
0
Matthew
I see that the user verification plugin is enqueuing jQuery on every page on the front end of the site.
Looking at function UserVerification::_front_scripts it calls wp_enqueue_script('jquery');
My understanding is that this is not actually used on every page - so enqueuing it like this is really bad for performance so I wanted to flag it.
I think it's much better to specifying jquery as a dependency of any scripts that require it. This both ensure it's only loaded when needed, and also ensures that dependencies are loaded in the correct order.
It does actually look like you are correctly specifying this as a dependency when needed - so maybe this line can be removed?
0 Subscribers
Submit Answer
1 Answers
Best Answer
0
Welcome to PickPlugins
Thanks for reporting the issue, we will fix and update plugin soon.
