[wp-trac] [WordPress Trac] #35666: Add support for HTTP response codes to wp_send_json_error(), wp_send_json_success(), and wp_send_json
WordPress Trac
noreply at wordpress.org
Wed Oct 26 14:31:34 UTC 2016
#35666: Add support for HTTP response codes to wp_send_json_error(),
wp_send_json_success(), and wp_send_json
------------------------------+--------------------------
Reporter: johnbillion | Owner: johnbillion
Type: enhancement | Status: closed
Priority: normal | Milestone: 4.7
Component: Formatting | Version: 3.5
Severity: normal | Resolution: fixed
Keywords: has-patch commit | Focuses:
------------------------------+--------------------------
Changes (by johnbillion):
* status: accepted => closed
* resolution: => fixed
Comment:
In [changeset:"38956"]:
{{{
#!CommitTicketReference repository="" revision="38956"
Formatting: Don't overwrite the status header for Ajax responses that use
output buffering or otherwise set their headers early.
Fixes #35666
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35666#comment:25>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list