[wp-trac] [WordPress Trac] #29829: Handling other HTTP header returns, rather than solely 404.

WordPress Trac noreply at wordpress.org
Thu Oct 2 08:09:11 UTC 2014


#29829: Handling other HTTP header returns, rather than solely 404.
-----------------------------+-----------------------------
 Reporter:  rhyswynne        |      Owner:
     Type:  feature request  |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  General          |    Version:  trunk
 Severity:  normal           |   Keywords:
  Focuses:                   |
-----------------------------+-----------------------------
 It would be nice to return more HTTP Status codes rather than just 404.

 For example, Privately Published posts should probably return a 403 Code -
 [http://en.wikipedia.org/wiki/HTTP_403], rather than a 404.

 Would be nice to have a `set_header('code') & `is_header('code'), so we
 could have more control for what pages can show up if need be.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/29829>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list