WARNING: This server is unstable and will be retired in the next days. If you want to keep this forum available, please request immediately a migration on the Nabble Support forum. Forums that don't receive any migration request will be deleted forever.

 « Return to Thread: ajax to call function in theme

Re: ajax to call function in theme

by scribu :: Rate this Message:

| View in Thread

The canonical redirection code is probably at play here.


On Thu, Dec 24, 2009 at 9:08 PM, Dylan Kuhn <dylankkuhn@...> wrote:

> Largely inspired by Otto's suggestions, I attempted to make an AJAX
> interface that would work on the front end using template_redirect. In
> my testing with WP 2.8.6, I found that POST requests done this way
> would get a 301 response, which would redirect to a GET on the same
> URL (of course now without the POST data). Anyone know of core code
> that might do that?
>

--
http://scribu.net
_______________________________________________
wp-hackers mailing list
wp-hackers@...
http://lists.automattic.com/mailman/listinfo/wp-hackers

 « Return to Thread: ajax to call function in theme