[wp-hackers] [ wp-hackers ] wp _ enqueue _ script() not working while in the Loop
scribu at gmail.com
Thu Dec 17 15:03:49 UTC 2009
You're welcome. :)
I don't use wp_print_scripts() because some other plugins might have inline
scripts printed using the 'wp_print_scripts' hook.
On Thu, Dec 17, 2009 at 2:46 PM, TobiasBg <wp-hackers at tobias.baethge.com>wrote:
> > That's why I use $wp_scripts->do_items(). It makes sure the same script
> > isn't included twice. You just have to make sure you use the same handle
> > both plugins.
> Argh, stupid me. Of course it does (and so does its wrapper
> wp_print_scripts, that I prefer to use). I just had a typo in one of the
> handles... Thanks for pointing me to it!
More information about the wp-hackers