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

Mike Walsh mpwalsh8 at gmail.com
Sat Jun 2 16:27:50 UTC 2012


I hooked my debug 'init' hook in with priority 1 and I see the post data I
expect to see so there is some init action on this site that is doing
something to the $_POST data.  I guess I need to come through the plugins
to see what is mucking with the post data.  I must have missed something
when I disabled them all.

Mike

On Sat, Jun 2, 2012 at 11:15 AM, Mike Walsh <mpwalsh8 at gmail.com> wrote:

> I disabled all of the plugins and it still happens - I've glanced through
> the theme and didn't see anything obvious.
>
> Any suggestion on how I can check for a redirect that isn't obvious to me?
>  Is there some server setting that could be involved?  To me it looks like
> a redirect of some sort but I am not sure how to follow the execution and
> see what is happening.
>
> Mike
>
> On Sat, Jun 2, 2012 at 3:52 PM, Gavin Pearce <Gavin.Pearce at 3seven9.com>wrote:
>
>> 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
>> _______________________________________________
>> wp-hackers mailing list
>> wp-hackers at lists.automattic.com
>> http://lists.automattic.com/mailman/listinfo/wp-hackers
>>
>
>
>
> --
> Mike Walsh - mpwalsh8 at gmail.com
>



-- 
Mike Walsh - mpwalsh8 at gmail.com


More information about the wp-hackers mailing list