[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 18:04:42 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 dev-feedback  |  
-------------------------------------------+--------------------------------

Comment(by nacin):

 ob_start() is right above the include. On activation a plugin should not
 be echoing anything, whether it is a warning or blank lines. So your delta
 is equal to ob_get_length().

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/12089#comment:16>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list