[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:14:24 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:  Awaiting Review
Component:  General       |     Version:  trunk
 Severity:  normal        |  Resolution:  wontfix
 Keywords:                |     Focuses:
--------------------------+------------------------------
Changes (by malthert):

 * status:  new => closed
 * resolution:   => wontfix


Comment:

 I didn't realise the project I was on was on an older WP version of this
 file/function.
 Ticket can be closed, unless one wants to modify the return value to make
 it more descriptive.
 However there's nothing that can be done if it returns false/error anyway;
 that's why it's probably not worth to change it.

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


More information about the wp-trac mailing list