[wp-trac] [WordPress Trac] #9407: Place specific hooks after general ones

WordPress Trac wp-trac at lists.automattic.com
Sat Mar 28 16:43:12 GMT 2009


#9407: Place specific hooks after general ones
----------------------------+-----------------------------------------------
 Reporter:  scribu          |       Owner:  anonymous
     Type:  defect (bug)    |      Status:  new      
 Priority:  normal          |   Milestone:  2.8      
Component:  Administration  |     Version:  2.8      
 Severity:  normal          |    Keywords:           
----------------------------+-----------------------------------------------
 In admin-header, the action ''admin_print_styles-$hook_suffix'' is called
 before ''admin-print-styles''.

 I think this is wrong because normally you would want the general CSS to
 come first, so that your CSS for a specific page will override it.

 The same goes for the other hooks.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/9407>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list