Timeline for WordPress Plugin Development - Headers Already Sent Message
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 14, 2019 at 17:22 | comment | added | butlerblog | Don't recommend using a closing PHP tag. It's a bad practice that leads to the type of problems in the OP, and it goes contrary to WP Core coding standards (see make.wordpress.org/core/handbook/best-practices/…) | |
Aug 29, 2011 at 4:18 | comment | added | Cam Jackson |
This was my issue. I had a bunch of blank lines after my closing ?> .
|
|
May 6, 2011 at 15:03 | comment | added | John P Bloch |
PHP files do not need the closing ?> tag. In fact, one way to guarantee that it won't cause Headers already sent issues is to leave the closing tag out.
|
|
May 6, 2011 at 14:09 | history | edited | Matthew Muro | CC BY-SA 3.0 |
added 145 characters in body
|
May 6, 2011 at 13:40 | history | answered | Matthew Muro | CC BY-SA 3.0 |