Very lightweight – only a dozen lines of code
-
Does what it says, stops the jquery-migrate JavaScript library from loading on your WordPress website.
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.
“What is jQuery Migrate? The jQuery Migrate module (jquery-migrate.min.js) is a javascript library that preserves compatibility of jQuery code developed for versions of jQuery older than 1.9. JQuery Migrate also allows developers to detect deprecated code that is no longer supported by the latest jQuery libraries and to adapt it according to the newest versions of jQuery 1.9 and higher.”
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.
- The topic ‘Very lightweight – only a dozen lines of code’ is closed to new replies.