[wp-hackers] What would strip $_POST before 'init' runs?

Gavin Pearce Gavin.Pearce at 3seven9.com
Sat Jun 2 14:52:09 UTC 2012


Covering the basics - have you checked their isn't a redirect running
between the POST and your init action?

Perhaps happening on a action that runs before yours? Have experienced
this previously. 

Gavin.


-----Original Message-----
From: wp-hackers-bounces at lists.automattic.com
[mailto:wp-hackers-bounces at lists.automattic.com] On Behalf Of Mike Walsh
Sent: 02 June 2012 15:23
To: wp-hackers at lists.automattic.com
Subject: [wp-hackers] What would strip $_POST before 'init' runs?

I am trying to help a user who is using my WordPress Google Form plugin
and am seeing some very odd behavior.  The plugin reads the HTML from
Google Forms and inserts into into a post or page.  The "submit" action
will call the same page the form appears on and the second pass through,
the short code processor submits the form data to Google using the
WordPress HTTP API.

In this one case I am helping a user debug, there is no POST data after
the form is submitted.  I put some debug code in an action hooked to
'init' and the the POST variable is empty there as well.  Any
suggestions of where or how to look to see why $_POST isn't set?  This
one has me stumped.

Mike
--
Mike Walsh - mpwalsh8 at gmail.com
_______________________________________________
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