First line is a newline
-
I actually upgraded to 2.8.5, but not sure I checked it under 2.8.4.
My issue is that WordPress fails validation by the W3C because before it outputs any of my custom theme, it sends a newline. The first line of my index.php file is get_header(), and the first line of header.php is my xml version statement. Viewing the source of the page, there’s a newline before the XML declaration, which is causing the failure.
Any idea where this happens?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘First line is a newline’ is closed to new replies.