Апісанне
A simple plugin to disable loading of jquery-migrate on the frontend due to a XSS vulerability of jQuery Migrate 1.2.1.
More details here: https://github.com/jquery/jquery-migrate/issues/36
It’s also one thing less to load where it counts.
Props to people in this thread: https://wordpress.org/support/topic/removing-the-default-jquery-and-migrate-from-the-header-in-last-version-of-wp?replies=6.
Ўсталёўка
- Upload contents of the plugin zip file to the
/wp-content/plugins/directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- Profit
Часта задаваныя пытанні
- Why is the jQuery-migrate needed?
-
There are still some dependencies in WP-Admin that require it to be present. Most up-to-date frontend code and plugins don’t require it however so theres no reason to load it there.
- Can this break my site?
-
Yes, possibly. Some plugins on your frontend might count on jquery-migrate beign available
Водгукі
Удзельнікі і распрацоўшчыкі
“Disable jQuery Migrate” is open source software. The following people have contributed to this plugin.
УдзельнікіПеракласці “Disable jQuery Migrate” на вашу мову.
Зацікаўлены ў распрацоўцы?
Праглядзіце код, праверце SVN рэпазітарый, або падпішыцеся на журнал распрацоўкі па RSS.
Журнал змяненняў
1.0
- Initial version