[wp-hackers] Re: WP-Debug: Testers Needed

Austin Matzko if.website at gmail.com
Tue Oct 30 12:21:41 GMT 2007


On 10/30/07, Chris Poteet <cpoteet at siolon.com> wrote:
> That sounds good, but all those variables return null.  Is it because
> I'm outside the Loop?

They do need to be declared as globals within your function.  Take a
look at the Dump Environment plugin, which does basically the same
thing as yours, except with "print_r":
http://dev.wp-plugins.org/browser/dump_env


More information about the wp-hackers mailing list