Quantcast
Channel: AJAX and -1 response - WordPress Development Stack Exchange
Browsing all 2 articles
Browse latest View live

Answer by Karel Attl for AJAX and -1 response

You should end all "async" functions with die() or exit, otherwise WordPress does it for you returning -1.

View Article



AJAX and -1 response

I know this has come up a number of times but it is driving me nuts. I've spend hours trying to debug it. My AJAX isn't working for non-logged in users. Here's me action:...

View Article
Browsing all 2 articles
Browse latest View live


Latest Images