This plugin removes jQuery Migrate script (jquery-migrate.min.js or jquery-migrate.js) from your WordPress site’s front end when the plugin is active. To bring back the removed jQuery Migrate script, simply deactivate this plugin.
To check whether jQuery Migrate is required in the front end, you could use the development version of jQuery Migrate (unminified version) by temporarily turning on SCRIPT_DEBUG mode in wp-config.php file. The development version shows warnings in the browser console when removed and/or deprecated jQuery APIs are used.
For more info about jQuery Migrate, visit here.
- From your WordPress dashboard, go to Plugins > Add New
- Search for Remove jQuery Migrate
- Click Install Now
- Activate the plugin
閱讀全部 6 則使用者評論
This plugin works very good with WP 4.9, but i can say that it is usless with WP 5.5
And they say - with the WordPress 5.5 update, the migration tool known as jquery-migrate is no longer enabled by default.
Did exactly what I needed it to do after the update to Wordpress 5.6 broke my site due to the jQuery Migrate plugin.
Works correctly up to Wordpress 5.2.2 and probably more
It's recommended to delete such unneeded calls & loads if your visitor-facing site uses jQuery, but none of your plugins require the jQuery Migrate library.
jQuery is currently on version 3.x, so modern plugins should not need the migrate library. But if something does happen to break, then you can always uninstall this plugin.
Awesome plugin, work perfect!
Thanks for this, I tried several code snippets to de-queue the jquery migrate process but none of them seemed to do the trick. Now I'm loading and processing one less js file!
以下人員參與了開源軟體〈Remove jQuery Migrate〉的開發相關工作。參與者
- Minor code improvement
- Tested up to WordPress 6.0
- Tested up to WordPress 5.4
- Added function_exists check.