1
用wordpress ajax插件響應-1和0有什麼區別?wordpress插件ajax調用響應-1和0之間的區別
http://codex.wordpress.org/AJAX_in_Plugins
的文檔狀態:
Error Return Values
If the AJAX request fails when the request url is wp-admin/admin-ajax.php, it will return either -1 or 0 depending on the reason it failed.
但是,這是一個非常基本的答案,這並不說明什麼情況下會引發兩種類型的錯誤。任何人有任何想法?