[wp-hackers] Optimize wp_register_script and, wp_enqueue_script functions

Michał Środek michal at srodek.info
Fri Jan 27 07:59:52 UTC 2012

>As of WordPress 3.3., shortcodes can enqueue scripts inline.

By the way, it's not working well because WP prints all html code in
the footer. Sometimes js/css code need be added in the head section
because of the long loading time. Try to build a website with css
files linked in the footer to see what I'm talking about.

More information about the wp-hackers mailing list