Project

General

Profile

Actions

Bug #13353

closed

jQuery update strategy

Added by Boone Gorges about 2 years ago. Updated over 1 year ago.

Status:
Resolved
Priority name:
Normal
Assignee:
Category name:
-
Target version:
Start date:
2020-09-21
Due date:
% Done:

0%

Estimated time:
Deployment actions:

Description

WordPress is moving forward with a roadmap for updating its shipped version of jQuery and the jquery-migrate polyfill that has historically provided backward compatibility. See https://make.wordpress.org/core/2020/06/29/updating-jquery-version-shipped-with-wordpress/

This change will almost certainly cause many regressions across plugins and themes that use jQuery on the Commons. We need a strategy to deal with this.

As a starting place, it might be helpful to distinguish between a couple different kinds of cases:

1. Some plugins and themes don't use jQuery at all.
2. Some of our most popular themes and plugins - things like Jetpack, for example - are well-maintained, and will receive upstream updates that ensure compatibility. It's very likely that these will be fixed before the relevant WP update, and we don't need to worry about them here on the Commons.
3. The majority of plugins and themes on the Commons are either poorly maintained or unmaintained. For those in this category that use jQuery, some will probably be OK even after the jQuery update.
4. The remaining plugins and themes will break in ways large and small.

As a first step, we should try to detect which plugins/themes use jQuery (eliminating those in category 1). This should be easy. From there, it would be nice if we had an automated tool for identifying - at least in a preliminary fashion - which themes/plugins will be negatively affected. (I assume that there's something akin to PHPCS for this purpose. Does anyone know of anything?) Once we have a list, we can make some decisions about next steps.


Files

theme-errors.html (2.62 MB) theme-errors.html Jeremy Felt, 2021-03-22 10:09 PM
plugin-errors.html (2.45 MB) plugin-errors.html Jeremy Felt, 2021-03-22 10:09 PM

Related issues

Related to CUNY Academic Commons - Feature #13789: Update WordPress to 5.6.xResolvedBoone Gorges2021-01-07

Actions
Related to CUNY Academic Commons - Feature #14003: Ensure jQuery 3.x compat for themes and plugins that are part of templates/plugin packagesResolvedBoone Gorges2021-02-17

Actions
Related to CUNY Academic Commons - Bug #14228: JITP Not Fully LoadingResolved2021-03-24

Actions
Related to CUNY Academic Commons - Support #14242: LAILAC site missing contentResolved2021-03-25

Actions
Related to CUNY Academic Commons - Bug #14266: Jquery Emails?Resolved2021-03-31

Actions
Actions

Also available in: Atom PDF