[wp-trac] [WordPress Trac] #11923: Allow supressing the hook in wp_print_(script|style)()

WordPress Trac wp-trac at lists.automattic.com
Mon Jan 18 23:20:32 UTC 2010


#11923: Allow supressing the hook in wp_print_(script|style)()
-------------------------+--------------------------------------------------
 Reporter:  scribu       |       Owner:  azaozz          
     Type:  enhancement  |      Status:  new             
 Priority:  normal       |   Milestone:  3.0             
Component:  JavaScript   |     Version:                  
 Severity:  normal       |    Keywords:  has-patch commit
-------------------------+--------------------------------------------------

Comment(by archon810):

 Just to clarify, the duplicate javascript code would be the result of the
 queue getting flushed and then potentially filled again with the same
 scripts, right (as far as I remember, the queue is emptied when it's
 printed)?

 Wouldn't the ideal solution be to call a wp_print_scripts() again in the
 footer to flush out everything queued up for it? This way you don't have
 to manually call wp_print_scripts().

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


More information about the wp-trac mailing list