[wp-trac] [WordPress Trac] #18909: Bundled jQuery UI should have CSS

WordPress Trac noreply at wordpress.org
Fri Jun 28 16:33:12 UTC 2019


#18909: Bundled jQuery UI should have CSS
--------------------------------+-----------------------------
 Reporter:  helen               |       Owner:  (none)
     Type:  enhancement         |      Status:  assigned
 Priority:  normal              |   Milestone:  Future Release
Component:  External Libraries  |     Version:  3.3
 Severity:  normal              |  Resolution:
 Keywords:  needs-patch         |     Focuses:  ui
--------------------------------+-----------------------------

Comment (by tazotodua):

 It's an old topic, but I will add my vote. Using
 [https://developer.wordpress.org/reference/functions/wp_enqueue_script
 /#default-scripts-included-and-registered-by-wordpress wp_enqueue_script]
 anyone can load i.e. ui-widget, ui-accordion, ui-autocomplete, ui-button,
 ui-datepicker and many other "jquery-ui" stuff. However, their .css
 equivalents are not available to be loaded natively using
 wp_enqueue_style.

 That's what I think, is a mistake, because if you suppose that people
 "like" any jquery-ui function to use, then you should anticipate, that
 they like what that function is meant to do. And so, most of us
 (developers) accept to use what wee see that function as they appear
 [https://jqueryui.com jQuery-UI website]. So, WP should have the default
 styling available to be loaded natively, without the need that we
 incorporated manual .css files in our plugins and themes to just use `ui-
 tooltip`, `ui-tabs` or many nice `ui` stuff that is commonly used by most
 of plugin or theme developers.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/18909#comment:92>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list