• Resolved arrwdp

    (@arrwdp)


    Hello,

    I have checked the web page with Google Chrome lighthouse utility and I ha got a message of security related with using [email protected].4 library

    This library is used by
    ./wp-content/plugins/async-javascript/assets/lib/chosen/docsupport/jquery-1.12.4
    .min.js

    How can I solve this issue?

    Thanks in advance,

    • This topic was modified 7 years, 10 months ago by arrwdp.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    didn’t realise chosen came with it’s own jquery, I’ll have a look if we can drop that.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    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,

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    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)

    Thread Starter arrwdp

    (@arrwdp)

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Jquery library use’ is closed to new replies.