[wp-hackers] Why is this ajax POST failing?

J.D. Grimes jdg at codesymphony.co
Tue Nov 12 13:53:14 UTC 2013


Off the top of my head I can’t really think of any real benefit either way in this case.

On Nov 11, 2013, at 4:59 PM, Gregory Lancaster <greglancaster71 at gmail.com> wrote:

> Sorry guys I posted my code up before undoing a few things I was trying to
> solve the problem.  Turned out it was the mixed ids, and the response was
> set to .type rather than just success or fail.    Thank you for the
> immediate replies.  While I have you, can someone explain the benefit of
> using nonce in the enqueue vs nonce in the field being submitted?
> 
> 
> On Mon, Nov 11, 2013 at 1:56 PM, Jeffrey Nolte <jnolte at getmoxied.net> wrote:
> 
>> Also - data looks like it is being  passed 'data' as a string rather than
>> the data object.
>> 
>> Jeffrey Nolte
>> Moxie Media Group, Inc.
>> 594 Broadway #305
>> New York, NY 10012
>> Office: (646) 820-8540
>> Skype: jeffrey.nolte
>> 
>> 
>> 
>> On Nov 11, 2013, at 4:49 PM, Jeremy Simkins <son9ne.junk at gmail.com> wrote:
>> 
>>> At first glance it looks like you are mixing user and post id when
>> assigning them on click event.
>>> _______________________________________________
>>> 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
>> 
> _______________________________________________
> 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