[wp-trac] [WordPress Trac] #50387: Cannot modify header information - headers already sent for "nocache_headers()"

WordPress Trac noreply at wordpress.org
Sun Jun 14 15:43:52 UTC 2020


#50387: Cannot modify header information - headers already sent for
"nocache_headers()"
--------------------------+----------------------
 Reporter:  malthert      |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  General       |     Version:  trunk
 Severity:  normal        |  Resolution:  invalid
 Keywords:                |     Focuses:
--------------------------+----------------------
Changes (by SergeyBiryukov):

 * resolution:  wontfix => invalid
 * milestone:  Awaiting Review =>


Comment:

 Thanks for the follow-up!

 For reference, the `headers_sent()` check was added to `nocache_headers()`
 in [45611] / #47632 for WordPress 5.3.

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


More information about the wp-trac mailing list