Tiu ĉi kromprogramo ne estis testita en la 3 lastaj gravaj eldonoj de WordPress. Eble ĝi ne plu estas prizorgata kaj ĝi eble havus kongruajn problemojn en novaj versioj de WordPress.

Disable jQuery Migrate

Priskribo

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.

Instalo

  1. Upload contents of the plugin zip file to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Profit

OD

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

Pritaksoj

Julio 26, 2017
No idea why wordpress doesn’t allows to turn this annoying thing off – but this plugin helps instantly. Thank you!!!
Aprilo 5, 2017
It removes the jquery migrate javacript file. After installing you have to test your site (open your browser with firebug / debug – F12) to make sure you are not using old versions of jquery.
Legi ĉiujn 2 pritaksojn

Kontribuantoj k. programistoj

“Disable jQuery Migrate” estas liberkoda programo. La sekvaj homoj kontribuis al la kromprogramo.

Kontribuantoj

Traduki “Disable jQuery Migrate” en vian lingvon.

Ĉu interesita en programado?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Ŝanĝprotokolo

1.0

  • Initial version