[wp-trac] [WordPress Trac] #37897: Use the status parameter when sending JSON errors from the customizer
WordPress Trac
noreply at wordpress.org
Wed Aug 31 19:01:01 UTC 2016
#37897: Use the status parameter when sending JSON errors from the customizer
-------------------------+--------------------------
Reporter: johnbillion | Owner: westonruter
Type: enhancement | Status: closed
Priority: low | Milestone: 4.7
Component: Customize | Version: trunk
Severity: minor | Resolution: fixed
Keywords: has-patch | Focuses:
-------------------------+--------------------------
Changes (by westonruter):
* owner: => westonruter
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"38478"]:
{{{
#!CommitTicketReference repository="" revision="38478"
Customize: Use new `$status_code` parameter for `wp_send_json_error()`
instead of calling `status_header()` separately.
Props johnbillion.
See #35666.
Fixes #37897.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37897#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list