[wp-trac] [WordPress Trac] #9346: wp_enqueue_script() doesn't work mid-page for footer scripts
WordPress Trac
wp-trac at lists.automattic.com
Mon Oct 12 14:42:12 UTC 2009
#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 aaroncampbell):
* cc: aaroncampbell (added)
Comment:
I just thought I'd add in my two cents. First, this would be really handy
to have for the exact reason that Viper mentioned, shortcodes. Shortcodes
have become an extremely useful tool, but the ability to easily enqueue
scripts would really put them over the top. Right now I'm using the
suggested method of a wp_footer action that calls wp_print_scripts, but
it's not as elegant as using wp_scripts.
Hopefully we can take a look at this again some day soon.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/9346#comment:11>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list