﻿id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc
9346,wp_enqueue_script() doesn't work mid-page for footer scripts,Viper007Bond,azaozz,"Create a footer script at `init`, `plugins_loaded`, or whatever. Doesn't matter, just early.

{{{
wp_register_script( 'myscript' '/some/path/script.js', array(), '1.2.3', true );
}}}

Now if we were to do `wp_enqueue_script( 'myscript' );` directly after that, the script would be outputted in the footer as expected.

However if we were to do the enqueue farther down the page, say inside a `the_content` filter, it doesn't work. It should. I need to be able to dynamically enqueue scripts for example based on shortcodes.",enhancement,closed,lowest,3.3,JavaScript,2.8,minor,fixed,needs-docs needs-patch,matt@… aaroncampbell admin@… rspindel amattie@… mitcho@… bill.erickson@… travis@… Ken@… azizur michalsrodek
