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

WordPress Trac noreply at wordpress.org
Fri Jul 5 16:46:05 UTC 2013


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

 * cc: msykes@… (added)


Comment:

 it would certainly save a ton of headaches for plugin (and theme) devs to
 have some sort of standardized jQuery UI CSS inclusion framework for both
 admin AND public side of things (maybe the public side should be in a new
 ticket).

 That way, whatever version of WP is being used you know it has a matching
 set of library/CSS files. 3.6 is a good example of how problems would be
 avoided, with the updates to the ui libraries I had to update the
 lightness stylesheet used in my plugins. Then there's the common problem
 of clashes with other plugins/themes enqueueing their styles too.

 From a plugin developer's point of view:

 if you're using the jQuery UI bundled with WP, then it doesn't really
 matter who loads a jQuery UI CSS theme as long as one is loaded
 (preferably only once!)

 On the admin area, that'd be fairly 'simple', you just make sure the theme
 admin uses is enqueued and let the styling take over, even better because
 all ui elements are consistent with the dashboard style.

 On the front-end, it'd probably be desirable to provide some sort of way
 to choose your theme. Maybe some sort of way to expose a 'theme choice' of
 pre-rolled themes for the front-end if any plugin chooses to make use of
 it.

 That would be ideal :)

--
Ticket URL: <http://core.trac.wordpress.org/ticket/18909#comment:77>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list