[wp-trac] [WordPress Trac] #8628: Extend class WP_Scripts to print scripts in both the HTML head and the footer

WordPress Trac wp-trac at lists.automattic.com
Mon Dec 15 21:18:38 GMT 2008


#8628: Extend class WP_Scripts to print scripts in both the HTML head and the
footer
-------------------------+--------------------------------------------------
 Reporter:  azaozz       |       Owner:  anonymous
     Type:  enhancement  |      Status:  new      
 Priority:  normal       |   Milestone:  2.8      
Component:  General      |     Version:           
 Severity:  normal       |    Keywords:           
-------------------------+--------------------------------------------------
 Many Javascript functions can be loaded in the footer, making the page
 load faster. Perhaps we can split the current script queue in "head" and
 "foot" sections and use an extra param when queueing scripts. That way all
 dependencies and loading order would be preserved.

 Alternatively can have two queues and exclude all dependency satisfying
 scripts that have been loaded in the "head" queue from the "foot" queue.

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


More information about the wp-trac mailing list