Version Control for jQuery

Description

Version Control for jQuery is one of the easiest ways to control the version of jQuery used on your website. Whether you just want to run a stable WordPress website, or if you are a developer and want to check compatibility of your website with the various versions of jQuery, the plugin will always have the latest minified version of jQuery ready for you. By default, the files will be loaded from the fast jQuery CDN, but you will also have the option to choose cdnjs, Google CDN or jsDelivr.

Please notice that no files are replaced, and therefore, deactivation of this plugin returns your site to its original state.

Like the plugin?

If you like the plugin, please review it! Every review is highly appreciated, but if you want to suggest something, please send an email to leander@leanderiversen.co.uk.

Installation

  1. Upload version-control-for-jquery to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Sit back and enjoy, or select your desired version of jQuery

Reviews

Zofinkplɔsun 13, 2024
I needed to change jquery version in the backend (wp-admin). But aparently it only changes the version on the front end.
nuxwasun 28, 2019
I inherited an older site with a theme that never got updated. Recently, some of the functions started to fail. (drop down navigation, in particular) After much searching, I thought about how the jQuery might be in conflict. This plugin immediately solved the issue and the site is back up and running smoothly. I’ll clearly need to get the theme updated and all the customization carried over, but for now, this was a lifesaver! Thanks.
kɔnyasun 10, 2018
It’s a fantastic plugin. Does almost everything I want with this. The one thing I would suggest adding is to select which CDN you would like to pull the jQuery files from (jQuery, cdnjs/CloudFlare, Google, bootcdn, etc). The reason I say this is b/c jQuery.com doesn’t have http/2, whereas cdnjs does, and the Google one I would imagine would be using gQUIC. Also, it would be nice if you only need the slim, vs the whole, etc. Another reason is that one CDN maybe a little faster in one specific area vs another (like if you get most of your traffic from a specific area… like let’s say you’re a small business in MN, USA… or maybe you are a business that only works with people in Germany – and so most your traffic is there?).
abɔxwisun 8, 2017
This plugin just saved my theme’s jQuery issue! This plugin is simple and effective
Read all 7 reviews

Contributors & Developers

“Version Control for jQuery” is open source software. The following people have contributed to this plugin.

Contributors

“Version Control for jQuery” has been translated into 1 locale. Thank you to the translators for their contributions.

Translate “Version Control for jQuery” into your language.

Interested in development?

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

Changelog

4.0.2

  • Support for WordPress 6.7.

4.0.1

  • Improvements to documentation.

4.0

  • Added jQuery Migrate versions 3.5.0, 3.5.1, and 3.5.2.

3.9

  • Added Google CDN support for jQuery Core version 3.7.1.

3.8

  • Added jQuery Core version 3.7.1 for jQuery CDN, cdnjs, and jsDelivr.

3.7

  • Added option to always use the latest version of jQuery Core and jQuery Migrate.

3.6

  • Added jQuery Core version 3.7.0.

3.5

  • Added Google CDN support for jQuery Core version 3.6.4.

3.4

  • Added jQuery Core version 3.6.4.
  • Added jQuery Migrate version 3.4.1.
  • Added Google CDN support for jQuery Core versions 3.6.2 and 3.6.3.

3.3.4

  • Fixed a bug that prevented the plugin from getting the default version number for jQuery Core and jQuery Migrate.

3.3.3

  • Fixed a bug that prevented the plugin from setting your preferred version of jQuery Core and jQuery Migrate.

3.3.2

  • Fixed a bug that prevented the plugin from getting the default version number for jQuery Core and jQuery Migrate.

3.3.1

  • Fixed a bug that could cause a fatal error when viewing the settings page.

3.3

  • Added jQuery Core version 3.6.3.

3.2

  • Added CDN support for jQuery Migrate, meaning that it will be loaded from your preferred CDN if the selected version is hosted.

3.1

  • Added jsDelivr to the list of preferred CDNs. If the selected version is not hosted by this provider, it will default to the jQuery CDN.
  • Added jQuery Core version 3.6.2.

3.0.3

  • Fixed a bug that could cause the wrong version of jQuery Migrate to appear as the selected version on the settings page.

3.0.2

  • Fixed a bug that could cause an error if the settings were left untouched following installation of the plugin.

3.0.1

  • Fixed a bug where the ‘vcfj_core_disable’ array key could be undefined.

3.0

  • Added support to set cdnjs and Google as your preferred CDN. If the selected version is not hosted by these providers, it will fall back to the jQuery CDN.
  • Added support to disable jQuery Core.
  • Support for PHP 5.6 has been dropped. To continue using the plugin, please upgrade to PHP 7.4 or above.

2.1

  • jQuery Core version 3.6.1 has been added.
  • jQuery Migrate version 3.4.0 has been added.
  • Support for WordPress 4 has been dropped. To continue using the plugin, please upgrade to WordPress 5.0 or above.

2.0.3

  • jQuery Core version 3.6.0 has been added.
  • jQuery Migrate version 3.3.2 has been added.

2.0.2

  • Smaller improvements.

2.0.1

  • Added option to disable jQuery Migrate.

2.0

  • Complete rewrite of the plugin to facilitate future features.
  • Added latest versions of jQuery Core and jQuery Migrate.

1.0.8

  • jQuery Core versions 3.3.0 and 3.3.1 have been added.
  • Minor adjustments.

1.0.7

  • Minor adjustments.
  • Support for WordPress 4.9.

1.0.6

  • jQuery Migrate version 3.0.1 has been added.

1.0.5

  • A bug that caused jQuery Core and jQuery Migrate to be dequeued while logged in to the admin area has now been resolved.

1.0.4

  • Added the pre-versions of jQuery Core version 3.2.2 and jQuery Migrate version 3.0.1, in case you want to test your website with the upcoming versions of jQuery. The plugin still defaults to the latest stable version of jQuery.

1.0.3

  • jQuery Core versions 3.2.0 and 3.2.1 have been added.

1.0.2

  • Corrected the way of requiring the “Settings” page. Thanks to Ivaylo Draganov for noticing!
  • Minor adjustments.

1.0.1

  • jQuery Core version 3.1.1 has been added.
  • The plugin now supports the Norwegian language.

1.0

  • Initial release