Make WordPress Core

Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#52259 closed defect (bug) (worksforme)

Missing jQuery UI files after 5.6 upgrade

Reported by: timherinckx's profile timherinckx Owned by:
Milestone: Priority: normal
Severity: normal Version: 5.6
Component: General Keywords:
Focuses: javascript Cc:

Description

Hi all,

I'm getting errors because some jquery UI files cannot be found after the upgrade to 5.6. I'm also not seeing these in the zip:

/wp-includes/js/jquery/ui/widget.min.js
/wp-includes/js/jquery/ui/position.min.js

Have they been removed with the 5.6 upgrade & jquery update?

Because of this the Matomo plugin (possibly also others) are not fully working anymore. Matomo reports to be compatible with 5.6.

Thanks in advance!

Timmmy

Change History (2)

#1 @Clorith
2 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to worksforme
  • Status changed from new to closed

Hi there, and welcome to the WordPress trac!

The latest version of jQuery UI does not have separate files for these two components, they are part of jQuery UI Core, so just enqueuing jquery-ui-core will cover all 3 of them.

There is a back-compat entry for them as well, so this change shouldn't cause any breaking changes if plugins are using WordPress' script enqueue system (wp_enqueue_script) properly, so I would reach out to the plugin in question if their plugin isn't working right now. A quick cursory look shows that the yare not doing this, so this is a plugin issue :)

I'm going to mark this ticket as worksforme, since this is a plugin approaching JavaScript issues the wrong way, but if it should appear there's a bug as well at the root of it all, the ticket can be re-opened at such a time.

#2 @timherinckx
2 years ago

@Clorith : Thanks for the feedback, continuing the discussion on the plugin forum (https://wordpress.org/support/topic/missing-jquery-ui-widget-min-js/)

Note: See TracTickets for help on using tickets.