[wp-trac] Re: [WordPress Trac] #7149: prevent inadvertent output
from included files
WordPress Trac
wp-trac at lists.automattic.com
Tue Jun 17 18:34:01 GMT 2008
#7149: prevent inadvertent output from included files
-------------------------+--------------------------------------------------
Reporter: mm6 | Owner: anonymous
Type: enhancement | Status: new
Priority: normal | Milestone: 2.7
Component: General | Version:
Severity: normal | Resolution:
Keywords: |
-------------------------+--------------------------------------------------
Comment (by Otto42):
I think this is an interesting idea, but I'd say that it might be worth
expanding the idea to prevent *all* output prior to the actual theme files
being called.
In other words, ob_start in the root index.php, then ob_end_clean in the
template-loader.php.
I don't think this will impact cookies and headers and such, but some
testing would need to be done there.
--
Ticket URL: <http://trac.wordpress.org/ticket/7149#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list