[wp-trac] Re: [WordPress Trac] #9346: wp_enqueue_script() doesn't work mid-page for footer scripts

WordPress Trac wp-trac at lists.automattic.com
Tue Mar 17 01:07:46 GMT 2009


#9346: wp_enqueue_script() doesn't work mid-page for footer scripts
--------------------------+-------------------------------------------------
 Reporter:  Viper007Bond  |       Owner:  azaozz        
     Type:  enhancement   |      Status:  new           
 Priority:  lowest        |   Milestone:  Future Release
Component:  JavaScript    |     Version:  2.8           
 Severity:  minor         |    Keywords:  needs-patch   
--------------------------+-------------------------------------------------
Changes (by Viper007Bond):

  * priority:  normal => lowest
  * type:  defect (bug) => enhancement
  * severity:  normal => minor


Comment:

 I didn't think of just using `wp_print_scripts( 'myscript' );` inside a
 footer hook. That works nicely.

 Dropping the priority on this and switching it to an enhancement as
 there's an alternate solution.

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


More information about the wp-trac mailing list