[wp-trac] [WordPress Trac] #9610: line breaks in functions.php result in invalid XML in RSS feed
WordPress Trac
wp-trac at lists.automattic.com
Mon Feb 15 07:13:38 UTC 2010
#9610: line breaks in functions.php result in invalid XML in RSS feed
--------------------------+-------------------------------------------------
Reporter: rmckillen | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: XML-RPC | Version:
Severity: normal | Resolution: invalid
Keywords: |
--------------------------+-------------------------------------------------
Comment(by miqrogroove):
Replying to [comment:13 filosofo]:
> A "fix" might be to leave off closing PHP tags in sample plugins and
themes and encourage people to leave them off as best practice.
That's a bit crazy. Advise them to do this:
{{{
return;
?>
}}}
It prevents any blank lines from printing.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/9610#comment:15>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list