Title: Jquery library use
Last modified: July 6, 2018

---

# Jquery library use

 *  Resolved [arrwdp](https://wordpress.org/support/users/arrwdp/)
 * (@arrwdp)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/jquery-library-use/)
 * Hello,
 * I have checked the web page with Google Chrome lighthouse utility and I ha got
   a message of security related with using [Jquery@1.12](https://wordpress.org/support/topic/jquery-library-use/Jquery@1.12?output_format=md).
   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, 11 months ago by [arrwdp](https://wordpress.org/support/users/arrwdp/).

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

 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/jquery-library-use/#post-10469052)
 * didn’t realise chosen came with it’s own jquery, I’ll have a look if we can drop
   that.
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/jquery-library-use/#post-10469213)
 * 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](https://github.com/futtta/async-javascript/blob/master/asyncjsBackendClass.php#L91),
   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](https://wordpress.org/support/users/arrwdp/)
 * (@arrwdp)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/jquery-library-use/#post-10470519)
 * 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](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/jquery-library-use/#post-10470640)
 * 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](https://yourblog.url/wp-includes/js/jquery/jquery.js))
 *  Thread Starter [arrwdp](https://wordpress.org/support/users/arrwdp/)
 * (@arrwdp)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/jquery-library-use/#post-10470671)
 * Thanks!

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

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

 * ![](https://ps.w.org/async-javascript/assets/icon-128x128.png?rev=1839260)
 * [Async JavaScript](https://wordpress.org/plugins/async-javascript/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/async-javascript/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/async-javascript/)
 * [Active Topics](https://wordpress.org/support/plugin/async-javascript/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/async-javascript/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/async-javascript/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [arrwdp](https://wordpress.org/support/users/arrwdp/)
 * Last activity: [7 years, 11 months ago](https://wordpress.org/support/topic/jquery-library-use/#post-10470671)
 * Status: resolved