It seems like this has been addressed in 1.2.1 My wp1.2.1 shows the correct syntax:
// Sending HTTP headers
if (!isset($doing_rss) || !$doing_rss) {
// It is presumptious to think that WP is the only thing that might change on the page.
@header(“Expires: Mon, 26 Jul 1997 05:00:00 GMT”);
// Date in the past
@header(“Last-Modified: ” . gmdate(“D, d M Y H:i:s”) . ” GMT”); // alwa\
…
Newsgator online also trips on this last I hear. They may have changed the code to accept it by now, but it’s always good to fix broken stuff then code around it
An avid fan of business, education, technology and finance. I lead a lean, highly focussed and capable team of Java Back End developers and Front End developers through a maze of complex software wizardry to fulfill the web maintenance needs of a large chemical manufacturer. As per Myers-Briggs Personality Types, I am an ESTJ. I pride in a project completed on time and according to plan. My hobbies include all kinds of technology, anything that I can taste and anything that goes fast or flies in the air. I like to read business books and comics in my spare time.
Glad to help!
It seems like this has been addressed in 1.2.1 My wp1.2.1 shows the correct syntax:
// Sending HTTP headers
if (!isset($doing_rss) || !$doing_rss) {
// It is presumptious to think that WP is the only thing that might change on the page.
@header(“Expires: Mon, 26 Jul 1997 05:00:00 GMT”);
// Date in the past
@header(“Last-Modified: ” . gmdate(“D, d M Y H:i:s”) . ” GMT”); // alwa\
…
Newsgator online also trips on this last I hear. They may have changed the code to accept it by now, but it’s always good to fix broken stuff then code around it