Overview

Version 5.5 of WordPress has included changes to jQuery to bring it up to modern development standards. For many years, WordPress has been shipping with jquery-migrate to ensure sites didn’t break where plugins and themes have been using a significantly outdated jQuery 1 syntax. As jquery-migrate provides a fix to bridge issues with old code, the intent was to use it as a transition tool.

However, many plugins and themes had failed to update old jQuery syntax (now 14 years old) and had simply relied on the fact that WordPress (via jquery-migrate) would partially correct the bad syntax.

As WordPress intends on moving to jQuery 3 (since all old versions are unsupported), this means breaking the compatibility with jQuery 1.x so that an updated version of the plugin can be utilised to bridge the gap now to jQuery 3.

Warning

If you have themes or plugins which haven’t been kept up-to-date, your site may break or lose functionality when updating to WordPress 5.5.

Issues your site may experience (but not limited to) are:

  • JavaScript errors within the developer console
  • Broken sliders
  • Broken menus
  • Look and feel issues
  • Issues with AJAX content loading

This should not be seen as an issue for WordPress 5.5, but generally an issue where paid themes and/or plugins haven’t got a valid license to keep them up-to-date.

All high quality themes and plugins should have already released updates to ensure jQuery compatibility, if your site is reliant on a theme or plugin where this isn’t the case then we recommend finding an alternative. Lack of active development represents potential security issues and this is one of the most commonly exploited areas of WordPress based sites.

Temporary Workaround

WordPress do make the older jquery-migrate available via a plugin for those who need a temporary fix while they investigate the underlying issues. This plugin is: https://wordpress.org/plugins/enable-jquery-migrate-helper/

Warning

This should only be used as a temporary measure while you ensure all themes and plugins are 100% WordPress 5.5 compatible. We recommend only relying on this plugin for a maximum of 3 months while updates or alternative themes / plugins are found.

  1. Within the WordPress plugins area and search for “Enable jQuery Migrate Helper“:
    wordpress 5.5 jquery issues
  2. Install and activate the plugin.
  3. While remaining logged in, browse the site record all errors reported:
    wordpress 5.5 jquery issues
  4. For each plugin and theme, determine if it’s up-to-date and if no updates are listed if a license is required (eg, it’s a paid plugin).
  5. After all updates have been applied, review again. If there are no further issues, the plugin should be uninstalled.

Tip

Conetix recommends reviewing again after 1 month and if there are still outstanding issues, find an alternative theme / plugin to ensure proper compatibility.

Was this article helpful?

Related Articles