didn’t realise chosen came with it’s own jquery, I’ll have a look if we can drop that.
OK, had a look and;
1. I can confirm the chosen library comes with (a.o.) jquery-1.12.4.min.js. I think for the next release we can (and should) simply loose the entire docsupport folder.
2. I can however not see that file being loaded; jquery.chosen.min.js is enqueued with WordPress core’s jquery as dependency, meaning `docsupport/jquery-1.12.4
.min.js` is (and should not) be used at all.
So question is; how did you get lighthouse to “see” this file?
frank
Thread Starter
arrwdp
(@arrwdp)
I got this warning from lighthouse and
1. First, I looked for files related with jquery-1 and I found this file in this directory
2. As second option I’ll look for information to know the scripts that call this library.
Do you know how can find this link between scripst/plugin and one library (jquery-1.12.4)
Thanks in advance,
well, asyncJS should (and does) not ever call docsupport/jquery-1.12.4.min.js.
do take into account however that the jquery included in wordpress core is also v1.12.4 (see for example https://yourblog.url/wp-includes/js/jquery/jquery.js)