[wp-hackers] Best practice: custom registration form

Lox lox.dev at knc.nc
Tue Aug 10 22:46:48 UTC 2010

2010/8/11 Otto <otto at ottodestruct.com>:
> I don't see why using AJAX or not would make any difference. You can
> send a POST to the wp-login.php from wherever you like. It'll return
> cookies and such to the browser and then the redirect can be set to
> make it redirect to your own code.

If I send a POST to wp-login.php using AJAX, I get an html page in
response to my request, whereas I just need a valid/invalid flag, an
array of errors (if any) and a redirect_to var (if redirect is

lox.dev at knc.nc

More information about the wp-hackers mailing list