[wp-trac] [WordPress Trac] #40787: REST API: Attempts to output headers without confirming headers have not been sent

WordPress Trac noreply at wordpress.org
Wed May 17 21:38:58 UTC 2017


#40787: REST API: Attempts to output headers without confirming headers have not
been sent
--------------------------+-----------------------
 Reporter:  kraftbj       |       Owner:  jnylen0
     Type:  defect (bug)  |      Status:  assigned
 Priority:  normal        |   Milestone:  4.8
Component:  REST API      |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  rest-api
--------------------------+-----------------------

Comment (by kadamwhite):

 +1 from me, nice catch indeed. No strong opinion on wrapping each
 individual `header()` call ''vs'' making one check earlier in the file.

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


More information about the wp-trac mailing list