[wp-trac] [WordPress Trac] #52163: Updating jQuery UI for jQuery 3.x

WordPress Trac noreply at wordpress.org
Wed Dec 23 01:15:21 UTC 2020


#52163: Updating jQuery UI for jQuery 3.x
--------------------------------+--------------------
 Reporter:  Clorith             |      Owner:  (none)
     Type:  task (blessed)      |     Status:  new
 Priority:  normal              |  Milestone:  5.7
Component:  External Libraries  |    Version:
 Severity:  normal              |   Keywords:  early
  Focuses:  javascript          |
--------------------------------+--------------------
 Related #51812

 The update to jQuery 3.5 has brought a lot of deprecation warnings into
 core, where a substantial amount of these come from jQuery UI as well at
 this point.

 The current latest release of jQuery UI, and is bundled in core as of
 WordPress 5.6, is jQuery UI version 1.12.1, this was released September
 2016.

 To clear out any deprecations in core, to be able to remove the default-
 enabled state on `jquery-migrate.js`, these need to be addressed, some of
 them are sorted in the [https://github.com/jquery/jquery-ui jQuery UI
 GitHub repository]. A milestone release for 1.13 exists, and is completed,
 but has had no traction over the past few months, so it is unclear when
 this release is scheduled for.

 This means our path forward right now looks to be building and bundling
 from source, and submitting patches upstream for elements that may not
 have been corrected as of yet.
 Doing so does pose the risk of some extra broken styles, since core does
 not bundle CSS for jQuery UI, and most plugins and themes that do so often
 grab the version and try to load the styles off JavaScript CDN providers,
 which would fail if the version was a custom bump.

 We will need to find a good way forward, ideally this should go in early
 to improve the chance of catching edge case scenarios where changes to the
 code may have unexpected implications.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/52163>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list