[wp-trac] [WordPress Trac] #29829: Handling other HTTP header returns, rather than solely 404.
WordPress Trac
noreply at wordpress.org
Sun Feb 14 01:34:24 UTC 2016
#29829: Handling other HTTP header returns, rather than solely 404.
-----------------------------+------------------------
Reporter: rhyswynne | Owner:
Type: feature request | Status: closed
Priority: normal | Milestone:
Component: Query | Version:
Severity: normal | Resolution: duplicate
Keywords: 2nd-opinion | Focuses:
-----------------------------+------------------------
Changes (by rachelbaker):
* status: new => closed
* resolution: => duplicate
* milestone: Awaiting Review =>
Comment:
After #10551 `wp_die()` does support a parameter for the HTTP response
code (r30355) and returns 403 for permission check failures (r30356).
Closing this ticket as a duplicate, since the feedback above goes against
the "nice to have" scope addition of:
> Privately Published posts should probably return a 403 Code
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29829#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list