[wp-hackers] wp_register_script with mootools or private
javascript
Viper007Bond
viper at viper007bond.com
Fri Nov 7 13:05:54 GMT 2008
Yes, but only if you use wp_enqueue_script() in both plugins.
On Fri, Nov 7, 2008 at 4:12 AM, Daiv Mowbray <daiv at daivmowbray.com> wrote:
>
> On Nov 7, 2008, at 9:35 AM, Viper007Bond wrote:
>
> I don't get your question, but here's a much, much better method of
>> setting
>> the JS URL:
>>
>
> plugins_url is cool, thanx,
>
> My question clarified:
> if I load myjavascript.js into theme head with plugin A
> using wp_enqueue_script,
> then load myjavascript.js into theme head with plugin B,
> will the wp_enqueue_script prevent double loading of myjavascript.js ?
>
>
> ----------
> Daiv Mowbray
> daiv at daivmowbray.com
> ----------
>
>
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>
--
Viper007Bond | http://www.viper007bond.com/ | http://www.finalgear.com/
More information about the wp-hackers
mailing list