[wp-trac] Re: [WordPress Trac] #7149: prevent inadvertent output from included files

WordPress Trac wp-trac at lists.automattic.com
Fri Jun 27 05:29:30 GMT 2008


#7149: prevent inadvertent output from included files
-------------------------+--------------------------------------------------
 Reporter:  mm6          |        Owner:  anonymous
     Type:  enhancement  |       Status:  closed   
 Priority:  normal       |    Milestone:           
Component:  General      |      Version:           
 Severity:  normal       |   Resolution:  invalid  
 Keywords:               |  
-------------------------+--------------------------------------------------
Comment (by mm6):

 Something like this would automatically fix these types of problems in all
 present and future themes. Trying to proactively fix something which
 causes subtle breakage of major site functionality is not "inane and
 hackish".

 Your solution is to rely on all theme authors and modifiers to do
 something that not a lot of people know about and seems wrong (people are
 used to closing tag-type things that they opened). The large majority of
 themes (including the default Wordpress theme) include closing ?>.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/7149#comment:4>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list