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

Casey Bisson casey.bisson at gmail.com
Wed Oct 22 15:31:04 GMT 2008


You caught me submitting an untested diff. *shame*

I've replaced it with a new one that is tested and actually works.


On Oct 22, 2008, at 10:51 AM, Otto wrote:

> 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
>>
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers



More information about the wp-hackers mailing list