[wp-trac] [WordPress Trac] #9346: wp_enqueue_script() doesn't work mid-page for footer scripts
WordPress Trac
wp-trac at lists.automattic.com
Sun Nov 14 06:23:38 UTC 2010
#9346: wp_enqueue_script() doesn't work mid-page for footer scripts
-------------------------------------+--------------------------------------
Reporter: Viper007Bond | Owner: azaozz
Type: enhancement | Status: closed
Priority: lowest | Milestone:
Component: JavaScript | Version: 2.8
Severity: minor | Resolution: wontfix
Keywords: has-patch tested commit |
-------------------------------------+--------------------------------------
Changes (by amattie):
* cc: amattie@… (added)
Comment:
I just ran into this issue when trying to add a script to the footer
within a shortcode. I considered this to be bug and created a patch before
looking for and finding this ticket. I'll be attaching that patch for
debate and consideration purposes.
In order to address my needs for now, I will manually add my scripts to
in_footer[] immediately after the enqueue.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/9346#comment:16>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list