[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 14:25:33 UTC 2017
#40787: REST API: Attempts to output headers without confirming headers have not
been sent
--------------------------+------------------------------
Reporter: kraftbj | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: REST API | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses: rest-api
--------------------------+------------------------------
Changes (by kraftbj):
* keywords: => has-patch
Comment:
In 40787.diff, I opted to check for `headers_sent` right before `header()`
instead of earlier in the file in the event that the functions are
expanded to do more than only the headers in the future.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40787#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list