Make WordPress Core

Opened 6 years ago

Closed 5 years ago

#46013 closed defect (bug) (invalid)

jQueryUI tabs CSS is no longer included in WordPress core

Reported by: rkaiser0324's profile rkaiser0324 Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: External Libraries Keywords:
Focuses: ui, javascript Cc:


I have a plugin that has an administration screen that utilizes jQueryUI tab functionality loaded from the WP core (JS handle "jquery-ui-tabs"). In 4.9.8 the CSS for this was included by WP core by default and everything was fine. However, in 5.0.3 I have noticed that the tab CSS is no longer included.

I can work around this by loading the jQueryUI CSS separately from a CDN but I see that jquery-ui-tabs is still listed in script-loader.php:972. Tabs will not render without the corresponding CSS classes. So shouldn't this be removed from script-loader.php and the files be removed from /wp-includes/js/jquery/ui/ ?

Change History (2)

#1 @desrosj
5 years ago

  • Component changed from General to External Libraries
  • Keywords reporter-feedback added

Hi @rkaiser0324, thanks for this ticket!

I do not recall CSS for any jQuery UI libraries being included by default. I did some digging, and I could not find any CSS files related to the libraries in WordPress 4.9.

Can you detail which plugins you have active? It is possible that you were relying on some style definitions in a core CSS file that have been refactored, but I don't think those were specific to the Tabs library.

#2 @desrosj
5 years ago

  • Keywords reporter-feedback removed
  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed
  • Version 5.0.3 deleted

Found #18909, which confirms that the CSS for the jQuery UI library was never actually included in WordPress core. I am going to close this out, but I think that #18909 can be revived and looked into further. This could be much easier to implement now, especially with the new and improved build processes in place.

Note: See TracTickets for help on using tickets.