[wp-trac] [WordPress Trac] #12415: wp_enqueue_style doesn't observe proper dependency order

WordPress Trac wp-trac at lists.automattic.com
Sat Feb 27 19:45:09 UTC 2010


#12415: wp_enqueue_style doesn't observe proper dependency order
--------------------------+-------------------------------------------------
 Reporter:  mtekk         |       Owner:             
     Type:  defect (bug)  |      Status:  new        
 Priority:  normal        |   Milestone:  3.0        
Component:  General       |     Version:  3.0        
 Severity:  normal        |    Keywords:  needs-patch
--------------------------+-------------------------------------------------

Comment(by nacin):

 CSS files don't have "dependencies". Nor would the media styles do
 nothing, just some rules may be overridden by global or wp-admin for any
 rules in media were designed to override global or wp-admin.

 You should call CSS files in the order you want them, I'm not sure we can
 create a specific dependency hierarchy. It's not like jquery, where to run
 all scripts that use jquery, we need to make sure jquery is first.

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


More information about the wp-trac mailing list