[wp-hackers] wp_redirect() fails on Linux
Mark Jaquith
mark.wordpress at txfx.net
Wed Aug 23 05:44:33 GMT 2006
On Aug 23, 2006, at 1:39 AM, AJ Chen wrote:
> There must be something printed before header() is called when
> wordpress is
> running on Linux. Has anybody seen this before? Any idea what
> might be
> printed before line 272 header() is executed? It could be a bug.
What hook is your plugin using when it calls wp_redirect() ? You
should be able to safely use the "init" hook, or "plugins_loaded"
If you're hooking in with the "wp_head" hook, or any template-level
hook, that'd cause the problem you're seeing.
--
Mark Jaquith
http://txfx.net/
More information about the wp-hackers
mailing list