[wp-trac] [WordPress Trac] #34551: Change API error response to focus on singular errors
WordPress Trac
noreply at wordpress.org
Wed Nov 18 18:28:57 UTC 2015
#34551: Change API error response to focus on singular errors
--------------------------------------+--------------------------
Reporter: rmccue | Owner: johnbillion
Type: enhancement | Status: closed
Priority: normal | Milestone: 4.4
Component: REST API | Version: trunk
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+--------------------------
Changes (by johnbillion):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"35671"]:
{{{
#!CommitTicketReference repository="" revision="35671"
Update `WP_REST_Response::as_error()` to handle the new format error
responses introduced in [35653].
Props danielbachhuber
Fixes #34551
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34551#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list