[wp-trac] [WordPress Trac] #12089: Unintended blank lines in plugins break XML for feeds
WordPress Trac
wp-trac at lists.automattic.com
Tue Feb 16 14:03:04 UTC 2010
#12089: Unintended blank lines in plugins break XML for feeds
------------------------------+---------------------------------------------
Reporter: bchecketts | Owner: MarkJaquith
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 3.0
Component: Plugins | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch tested |
------------------------------+---------------------------------------------
Comment(by hakre):
That would not be for feeds only but for proerply parsed "XHTML as in XML"
pages as well, right?
----
What I strongly dislike with this patch is that it is using ob_ output
functions. The usage of those has not been clearly defined until today.
That can really mess things up and this patch might not work as intended.
the ob-length need to be measured before and after the include. the delta
between the two values should be 0, not the overall length. that should
make it more robust.
I would love to see a comment on this one prior to open (another) new
ticket.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12089#comment:14>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list