[wp-hackers] admin-ajax.php and $_GET?

Otto otto at ottodestruct.com
Wed Oct 22 14:51:11 GMT 2008


No good, that breaks all the POST actions, because the switch will
always hit that default case, then die(0) on the script.

You still need to have the if statement checking for the existence of
the get action.


On Wed, Oct 22, 2008 at 9:45 AM, Casey Bisson <casey.bisson at gmail.com> wrote:
>
> How's the following?
>
> http://trac.wordpress.org/ticket/7945
> http://trac.wordpress.org/attachment/ticket/7945/admin-ajax-allow-GET.diff
>


More information about the wp-hackers mailing list