Skip to content
NYC Tech Tips

NYC Tech Tips

Tech Tips From a NYC System Administrator

  • Home
  • About
  • Downloads
  • JB Network Design
  • Toggle search form

jQuery for WordPress Update

Posted on May 5, 2020July 13, 2020 By ninjatechnyc

WordPress comes bundled with jQuery and there are themes and plugins that call it. Unfortunately, WordPress does not have a good way to manage the version of jQuery being used, but using the plugin jQuery Manager for WordPress helps.  The security folks ran a scan of our website and found it to be using jQuery 3.4.1 which apparently has some vulnerabilities. The latest version as of this writing is 3.5.1.  Typically when the jQuery Manager plugin updates, it comes with the latest version of jQuery however the plugin hasn’t updated in a month.  One quick and dirty way of manually adding version 3.5.1 is as follows:

 

1. Head over here and download the six latest jQuery files

 

 

2. Save them into the following folder of your WordPress install:

 

\wordpress\wp-content\plugins\jquery-manager\assets\js

 

3. Open the \wordpress\wp-content\plugins\jquery-manager\jquery-manager.php file in something like Notepad++ (Make a backup copy first in case something goes wrong and you need to revert).

 

4. Edit the jQuery 3X version section, changing the 3.4.1 to 3.5.1 (or whatever is the current version you downloaded)

 

 

5. Restart your web services for that wordpress instance

 

6. Log into your WordPress admin page

 

7. Navigate to the jQuery Manager under the Tools menu

 

8. Under the jQuery version dropdown, you should now see version 3.5.1

 

 

9. Select your version and click Save Changes

 

10. To test if it’s working, open up Chrome web browser and hit F12 to open the debugger

 

11. Click on the Console tab on the top menu

 

 

12. Open your webpage

 

13. At the console > prompt type, console.log(jQuery().jquery); and hit enter. It should respond with the jQuery version being used:

 

 

That’s it. Of course your themes and plugins may require a specific version of jQuery, and making this change may break them, and I’m not sure what happens when the plugin updates on it’s own. So this may be only a temporary workaround.

security, tech, tech tips, Wordpress Tags:jQuery, Wordpress

Post navigation

Previous Post: Ubuntu Project – The Stuck At Home Edition
Next Post: Share a Folder between Host OS and Guest OS in Virtual Box (Windows > Linux Mint)

Search

Tags

adobe Amazon antispyware antivirus apache Apple AT&T blackberry browser China computer data breach Dell dilbert dogbert email encryption facebook faulting application FB firefox firewall flash drives freeware godaddy google Hack Identity Theft Internet Explorer iPhone linux malware Microsoft paypal phishing privacy recommended reading scam security software tech support ubuntu virus windows Wordpress

Archives

  • April 2021
  • September 2020
  • July 2020
  • June 2020
  • May 2020
  • April 2020
  • June 2017
  • May 2017
  • December 2016
  • November 2015
  • June 2015
  • June 2012
  • February 2012
  • January 2012
  • December 2011
  • November 2011
  • September 2011
  • July 2011
  • May 2011
  • April 2011
  • March 2011
  • January 2011
  • December 2010
  • October 2010
  • August 2010
  • June 2010
  • May 2010
  • April 2010
  • March 2010
  • February 2010
  • December 2009
  • July 2009
  • June 2009
  • May 2009
  • April 2009
  • February 2009
  • December 2008
  • November 2008
  • October 2008
  • July 2008
  • June 2008
  • April 2008
  • March 2008
  • January 2008

Copyright © 2021 NYC Tech Tips

Powered by PressBook Dark WordPress theme