[wp-hackers] Include popular libs with a function

Robert Deaton false.hopes at gmail.com
Fri Aug 18 04:57:25 GMT 2006


On 8/18/06, Sean Hickey <seanhickey at gmail.com> wrote:
> Howdy all,
>   I've brought this up before on the list, on IRC, and on my blog
> (Matt commented on the post), but I'll bring it up again.
>
>   To me it seems like a good idea for WP to automatically include
> popular JS libraries like Prototype and Scriptaculous.

See: WP_Scripts and related.
http://trac.wordpress.org/browser/trunk/wp-includes/script-loader.php

Could probably use with an extension or modification to work outside
the admin area, but it does all of what you describe and more.

-- 
--Robert Deaton


More information about the wp-hackers mailing list