[wp-hackers] Re: Plugin interference

Otto otto at ottodestruct.com
Fri Apr 11 16:08:23 GMT 2008


Argh. You're right, I was confused about what enqueue scripts needed
to do. My bad.


On Fri, Apr 11, 2008 at 10:27 AM, Aaron D. Campbell <aaron at xavisys.com> wrote:
> Since admin_print_scripts-$page_hook or admin_print_scripts-$plugin_page
> both fire before admin_print_scripts, couldn't you enqueue then?  Or is that
> too late for some reason?
>
>
>  Otto wrote:
>
> > That's fine if you want to insert something into the header manually,
> > but what if you want to use the right functions to actually enqueue a
> > script instead? admin_head and admin_print_scripts are too late to add
> > enqueue_script calls.
> >
> > Should one hang that off load-$page_hook instead?
> >
> >
>  --
>  Aaron D. Campbell
>  Owner
>  Xavisys
>
>
>
>  _______________________________________________
>  wp-hackers mailing list
>  wp-hackers at lists.automattic.com
>  http://lists.automattic.com/mailman/listinfo/wp-hackers
>


More information about the wp-hackers mailing list