[wp-trac] [WordPress Trac] #35426: Create response status code aliases on WP_Http for convenience

WordPress Trac noreply at wordpress.org
Thu Jan 14 06:06:47 UTC 2016


#35426: Create response status code aliases on WP_Http for convenience
--------------------------------------------------+-----------------------
 Reporter:  joehoyle                              |       Owner:  joehoyle
     Type:  defect (bug)                          |      Status:  reopened
 Priority:  normal                                |   Milestone:  4.5
Component:  HTTP API                              |     Version:
 Severity:  normal                                |  Resolution:
 Keywords:  has-unit-tests has-patch 2nd-opinion  |     Focuses:
--------------------------------------------------+-----------------------

Comment (by knutsp):

 When introduced, they should be used globally, right?

 Will it be considered "refactoring just because we can" if these constants
 was implemented in `get_status_header_desc()`?

 If not, I can create ticket and patch.

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


More information about the wp-trac mailing list