[wp-trac] Re: [WordPress Trac] #10024: Duplicate CSS includes for wp_register_style() dependencies that are loaded by wp_admin_css_color()

WordPress Trac wp-trac at lists.automattic.com
Thu Jun 4 02:17:11 GMT 2009


#10024: Duplicate CSS includes for wp_register_style() dependencies that are loaded
by wp_admin_css_color()
--------------------------------------------------------------------------+-
 Reporter:  archon810                                                     |        Owner:  azaozz 
     Type:  defect (bug)                                                  |       Status:  closed 
 Priority:  normal                                                        |    Milestone:         
Component:  General                                                       |      Version:  2.7.1  
 Severity:  major                                                         |   Resolution:  invalid
 Keywords:  wp_register_style, wp_enqueue_style, wp_admin_css_color, css  |  
--------------------------------------------------------------------------+-
Changes (by azaozz):

  * status:  assigned => closed
  * resolution:  => invalid
  * milestone:  2.8 =>


Comment:

 This is because you're using directly `colors-classic.css` as dependency.
 Color sylesheets are selectable by the user and are queued with handle
 'colors'. There's a function to output the right one depending on the user
 settings. Try using 'colors' as a dependency.

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


More information about the wp-trac mailing list