[wp-hackers] ajax to call function in theme

scribu scribu at gmail.com
Thu Dec 24 20:07:28 UTC 2009


The canonical redirection code is probably at play here.


On Thu, Dec 24, 2009 at 9:08 PM, Dylan Kuhn <dylankkuhn at gmail.com> 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


More information about the wp-hackers mailing list