admin管理员组文章数量:1327661
readyState= 1
this.status= 0
readyState= 2
this.status= 200
readyState= 3
this.status= 200
readyState= 4
this.status= 200
These are the responses I get, and in the end it finally responds with 4 and 200. My php function just echoes "hello from php"
. I used ob_clean()
before echo and wp_die()
as per Codex recommendations because it said there may be unnecessary responses mixed in with ajax but still didn't help at all.
本文标签:
版权声明:本文标题:WordPress responds to the ajax request with readyState 1, 2, 3 before responding with 4 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1738714618a2108400.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论