[wp-hackers] any hook before auth_redirect() ?
chris.hearn01 at ntlworld.com
Mon Nov 3 22:34:10 GMT 2008
Excellent Roadmap project - congratulations to whoever wrote it
(sorrry, not been keeping up with the posts recently!)
One small comment for the author -
Selecting "Show Secondary arguments" and "Do_action_ref_array"
the 2ndry arguments column does not line up with left hand column, e.g
P.S. (when using FireFox 3.0.3)
John Blackbourn wrote:
> Also check out the new WP Roadmap Project:
> http://wp-roadmap.com/demo/?roadmap_id=110 to see the order of
> On Mon, Nov 3, 2008 at 10:15 PM, John Blackbourn
> <johnbillion+wp at gmail.com> wrote:
>> Purely off the top of my head, I think 'plugins_loaded' comes pretty
>> early. In fact I think it's the first action (though there are filters
>> that are applied before it).
>> On Sun, Oct 26, 2008 at 5:53 PM, Malaiac <malaiac at gmail.com> wrote:
>>> I had a allow_autologin() function which allowed a anonymous visitor
>>> to submit a post with his email, and be registered, logged in and
>>> redirected to post.php page.
>>> The function was working on my development version (2.7 r ~9000)
>>> I updated today r 9353 : the function is not working anymore.
>>> It seems that auth_redirect() acts before init (which I took for the
>>> first hook in wp admin page loading)
>>> Before I had :
>>> site.com/submit , form action = wp-admin/post-new.php > init hook
>>> register a new user and log him in > redirect to edit page
>>> now, I have :
>>> site.com/submit > auth_redirect() >
>>> site.com/wp-login.php?redirect_to=site.com/wp-admin/post.php ... and
>>> there the init hook works
>>> Any modification on this side ?
>>> If not, do you have any idea of a sooner hook than init() ?
>>> wp-hackers mailing list
>>> wp-hackers at lists.automattic.com
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers