manifest / performance / dequeue-jquery-migrate
Dequeue jQuery Migrate
A WordPress plugin to remove the jquery-migrate.js script dependency.
★ 28stars
6.1kcomposer installs
Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/cedaro/dequeue-jquery-migrate/archive/refs/heads/develop.zipOn Packagist as cedaro/dequeue-jquery-migrate:
composer require cedaro/dequeue-jquery-migrateNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Removes the jquery-migrate.js script from the list of jQuery dependencies to keep it from loading on the front end when it's not needed.
Installation
Upload
- Download the latest release from GitHub.
- Go to the Plugins → Add New screen in your WordPress admin panel and click the Upload button at the top next to the "Add Plugins" title.
- Upload the zipped archive.
- Click the Activate Plugin link after installation completes.
Manual
- Download the latest release from GitHub.
- Unzip the archive.
- Copy the folder to
/wp-content/plugins/. - Go to the Plugins → Installed Plugins screen in your WordPress admin panel and click the Activate link under the Dequeue jQuery Migrate item.
Read the Codex for more information about installing plugins manually.
Git
Clone this repository in /wp-content/plugins/:
git clone git@github.com:cedaro/dequeue-jquery-migrate.git
Then go to the Plugins → Installed Plugins screen in your WordPress admin panel and click the Activate link under the Dequeue jQuery Migrate item.