[wp-trac] [WordPress Trac] #21472: Allow supplying a custom text to status_header()

WordPress Trac noreply at wordpress.org
Wed Oct 7 21:25:56 UTC 2015


#21472: Allow supplying a custom text to status_header()
------------------------------+--------------------------
 Reporter:  nbachiyski        |       Owner:  johnbillion
     Type:  enhancement       |      Status:  closed
 Priority:  normal            |   Milestone:  4.4
Component:  General           |     Version:
 Severity:  minor             |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:
------------------------------+--------------------------
Changes (by johnbillion):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"34914"]:
 {{{
 #!CommitTicketReference repository="" revision="34914"
 Add an optional `$description` parameter to `status_header()` so custom
 HTTP status descriptions can be provided.

 Fixes #21472
 Props nbachiyski, iamfriendly
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/21472#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list