[wp-trac] [WordPress Trac] #26669: wp-admin.css should be broken up into modules

WordPress Trac noreply at wordpress.org
Wed Dec 18 04:58:01 UTC 2013


#26669: wp-admin.css should be broken up into modules
----------------------------+------------------------------
 Reporter:  jorbin          |       Owner:
     Type:  enhancement     |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Administration  |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |
----------------------------+------------------------------

Comment (by nacin):

 The one concern I have about this is it makes it much more difficult to
 submit a CSS patch via core.svn. An alternative approach could be to have
 all of these files in both core.svn and develop.svn, then also include a
 single wp-admin.min.css file in the built version. SCRIPT_DEBUG would load
 these individual files in both build and src.

 Seems like if we have separate files, then each should be commented, and
 the TOC should be removed.

 TinyMCE can just be removed, that is covered by wp-
 includes/css/editor.css.

 It will be easier to examine any future patches if wp-admin.css just got
 comments added throughout, as in: `/* this would start wp-admin-
 buttons.css, forms.css, etc. */`, rather than actually moving code around.
 Or if the CSS files are admitted entirely for now, in lieu of the grunt
 /script-loader/etc changes. The TOC can be patched with `/* this would be
 split into buttons.css,  */` or something, that way we can discuss
 organization.

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


More information about the wp-trac mailing list