[wp-trac] [WordPress Trac] #12308: files in wp-includes missing closing php tags
WordPress Trac
wp-trac at lists.automattic.com
Sat Feb 20 18:18:50 UTC 2010
#12308: files in wp-includes missing closing php tags
-----------------------------------+----------------------------------------
Reporter: washer | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone: Unassigned
Component: General | Version: 2.9.2
Severity: normal | Resolution: invalid
Keywords: cron,missing php tags |
-----------------------------------+----------------------------------------
Changes (by Lazy79):
* status: new => closed
* resolution: => invalid
Comment:
The closing tag of a PHP block at the end of a file is optional, and in
some cases omitting it is helpful when using include() or require(), so
unwanted whitespace will not occur at the end of files, and you will still
be able to add headers to the response later. It is also handy if you use
output buffering, and would not like to see added unwanted whitespace at
the end of the parts generated by the included files.
taken from http://nl2.php.net/language.basic-syntax.instruction-separation
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12308#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list