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

WordPress Trac wp-trac at lists.automattic.com
Sun Mar 29 00:01:27 GMT 2009


#9407: Place specific hooks after general ones
----------------------------+-----------------------------------------------
 Reporter:  scribu          |        Owner:  anonymous
     Type:  defect (bug)    |       Status:  closed   
 Priority:  normal          |    Milestone:  2.8      
Component:  Administration  |      Version:  2.8      
 Severity:  normal          |   Resolution:  wontfix  
 Keywords:                  |  
----------------------------+-----------------------------------------------
Changes (by azaozz):

  * status:  new => closed
  * resolution:  => wontfix


Comment:

 Don't think that's a good idea as it may break plugins that depend on the
 current loading order.

 You can always use `do_action("admin_head-$hook_suffix");` if you need to
 output just a few lines of js or css to the header. If you're including a
 separate file it should be properly queued in the script loader listing
 dependencies, etc.

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


More information about the wp-trac mailing list