[wp-trac] [WordPress Trac] #35426: Create response status code aliases on WP_Http for convenience
WordPress Trac
noreply at wordpress.org
Thu Jan 14 03:15:27 UTC 2016
#35426: Create response status code aliases on WP_Http for convenience
--------------------------+-----------------------
Reporter: joehoyle | Owner: joehoyle
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.5
Component: HTTP API | Version: trunk
Severity: normal | Resolution: fixed
Keywords: | Focuses:
--------------------------+-----------------------
Changes (by joehoyle):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"36294"]:
{{{
#!CommitTicketReference repository="" revision="36294"
Add response status code aliases on WP_Http for convenience.
These provide a more descriptive way to set response codes elsewhere,
so it's readable and less chance for the wrong response code to be
used such as 401 vs 403.
Props rmccue for the idea.
Fixes #35426.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35426#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list