[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 Jul 27 16:33:52 UTC 2009
#9610: line breaks in functions.php result in invalid XML in RSS feed
--------------------------+-------------------------------------------------
Reporter: rmckillen | Owner:
Type: defect (bug) | Status: reopened
Priority: normal | Milestone:
Component: XML-RPC | Version:
Severity: normal | Resolution:
Keywords: |
--------------------------+-------------------------------------------------
Changes (by achmafooma):
* status: closed => reopened
* resolution: worksforme =>
Comment:
Denis-- I understand that the problem is set in motion by the issue in the
theme's function.php..... BUT why on earth would an erroneous blank line
in functions.php screw up both the RSS feeds and XML-RPC functionality?
One should not effect the other like this.
This gave me a huge amount of headache in tracking down the problem since
nothing in my functions.php should have been effecting RSS/XML-RPC, and
nothing in the way the problem presented itself (blank space at the start
of the XML files) would have pointed me back to functions.php. I only
figured it out when I stumbled upon this bug report.
To me, this is definitely a bug either in how WP parses functions.php
files or in how WP generates the XML for RSS / XML-RPC. A blank line in
functions.php (even if this is incorrect/improper) should not inexplicably
put a blank line on top of WP-generated XML and break RSS / XML-RPC!
Don't want to get into a war here; another 'closed/worksforme' and I'll
quietly drop it :-).
--
Ticket URL: <http://core.trac.wordpress.org/ticket/9610#comment:10>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list