[wp-hackers] internal redirects
otto at ottodestruct.com
Tue Apr 27 18:19:49 UTC 2010
On Tue, Apr 27, 2010 at 1:02 PM, Peter Westwood
<peter.westwood at ftwr.co.uk> wrote:
> Doing things as early as possible is good.
> Doing things when your plugin is included is not recommended.
I disagree. Like everything else, it depends on what it is that you are doing.
If you're going to halt execution anyway and/or force a redirect... or
anything else where you'll just be calling exit(), then waiting any
longer than you have to wait is pointless.
Sometimes, you don't really need any of the core WP functionality,
because you got passed in what you needed via a POST or GET.
More information about the wp-hackers