[wp-hackers] wp_default_scripts unreliable?
Michael D Adams
mda at blogwaffe.com
Thu Jul 1 21:12:29 UTC 2010
On Thu, Jul 1, 2010 at 2:00 PM, Jason Penney <jpenney at jczorkmid.net> wrote:
> This means that any plugin that calls the
> wp_register_script or wp_enqueue_script in its main body of code
> (outside of any hooks) will cause wp_default_scripts to fire, which may
> be before my plugin code has been loaded. There seem to be a lot of
> these floating around.
Those plugins are probably misbehaving.
That said, can you hook into the script_loader_src filter instead?
--mdawaffe
More information about the wp-hackers
mailing list