Title: jQuery Migrate plugin is flagging WordPress core files
Last modified: December 11, 2020

---

# jQuery Migrate plugin is flagging WordPress core files

 *  Resolved [theshmoes](https://wordpress.org/support/users/theshmoes/)
 * (@theshmoes)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/jquery-migrate-plugin-is-flagging-wordpress-core-files/)
 * Hello! After updating to the latest WordPress version, my staging site is now
   flagging various files in WordPress core (wp-admin/js):
 * > [http://staging.publishingshack.mysites.io/wp-admin/js/common.min.js:2:6087](http://staging.publishingshack.mysites.io/wp-admin/js/common.min.js:2:6087):
   > jQuery.fn.delegate() is deprecated
   >  [http://staging.publishingshack.mysites.io/wp-admin/js/media-upload.min.js:2:1070](http://staging.publishingshack.mysites.io/wp-admin/js/media-upload.min.js:2:1070):
   > jQuery.fn.resize() event shorthand is deprecated [http://staging.publishingshack.mysites.io/wp-admin/js/common.min.js:2:3803](http://staging.publishingshack.mysites.io/wp-admin/js/common.min.js:2:3803)):
   > jQuery.fn.click() event shorthand is deprecated [http://staging.publishingshack.mysites.io/wp-admin/js/common.min.js:2:5407](http://staging.publishingshack.mysites.io/wp-admin/js/common.min.js:2:5407)):
   > jQuery.fn.click() event shorthand is deprecated [http://staging.publishingshack.mysites.io/wp-admin/js/common.min.js:2:14540](http://staging.publishingshack.mysites.io/wp-admin/js/common.min.js:2:14540)):
   > jQuery.fn.click() event shorthand is deprecated [http://staging.publishingshack.mysites.io/wp-admin/js/common.min.js:2:14669](http://staging.publishingshack.mysites.io/wp-admin/js/common.min.js:2:14669)):
   > jQuery.fn.bind() is deprecated [http://staging.publishingshack.mysites.io/wp-admin/js/common.min.js:2:15454](http://staging.publishingshack.mysites.io/wp-admin/js/common.min.js:2:15454)):
   > jQuery.fn.mousedown() event shorthand is deprecated [http://staging.publishingshack.mysites.io/wp-admin/js/common.min.js:2:18759](http://staging.publishingshack.mysites.io/wp-admin/js/common.min.js:2:18759)):
   > jQuery.fn.focus() event shorthand is deprecated
 * Are these false positives? How should these be addressed given these are in WordPress
   core and my host does not allow them to be edited.

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

 *  Thread Starter [theshmoes](https://wordpress.org/support/users/theshmoes/)
 * (@theshmoes)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/jquery-migrate-plugin-is-flagging-wordpress-core-files/#post-13778844)
 * Actually, it looks like this is to be expected. There’s an option in the plugin
   to log queries within WordPress:
 * [https://i.getf.ly/WnulY96e](https://i.getf.ly/WnulY96e)
 * Message in the plugin settings:
 * > This may report many entries from WordPress it self. This is expected, as WordPress
   > continues to update its own code in the upcoming releases.
 *  Plugin Author [Marius L. J.](https://wordpress.org/support/users/clorith/)
 * (@clorith)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/jquery-migrate-plugin-is-flagging-wordpress-core-files/#post-13779026)
 * Hiya,
 * You’re absolutely right.
 * So the deprecations shown are features jQuery plans to remove in the future, 
   but are not already removed (you can get the same warnings, but in the developer
   console only from core, the plugin just surfaces them).
 * We could have hidden anything core related, but in the interest of full transparency,
   and to help us track issues more easily as well, they were allowed to be reported.
   It also helps others see what they could help contribute and improve on in core
   🙂
 *  [chabekah](https://wordpress.org/support/users/chabekah/)
 * (@chabekah)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/jquery-migrate-plugin-is-flagging-wordpress-core-files/#post-13849925)
 * Because I was just getting heaps of noise in my console (distracting me from 
   real JS bugs), I followed the advice in the WordPress about page (wp-admin/about.
   php), and installed this plugin: [https://wordpress.org/plugins/wp-jquery-update-test/](https://wordpress.org/plugins/wp-jquery-update-test/)
   which allows me to disable jquery-migrate in development.

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

The topic ‘jQuery Migrate plugin is flagging WordPress core files’ is closed to 
new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/enable-jquery-migrate-helper.svg)
 * [Enable jQuery Migrate Helper](https://wordpress.org/plugins/enable-jquery-migrate-helper/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/enable-jquery-migrate-helper/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/enable-jquery-migrate-helper/)
 * [Active Topics](https://wordpress.org/support/plugin/enable-jquery-migrate-helper/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/enable-jquery-migrate-helper/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/enable-jquery-migrate-helper/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [chabekah](https://wordpress.org/support/users/chabekah/)
 * Last activity: [5 years, 4 months ago](https://wordpress.org/support/topic/jquery-migrate-plugin-is-flagging-wordpress-core-files/#post-13849925)
 * Status: resolved