[wp-trac] [WordPress Trac] #12307: files missing closing php tags
WordPress Trac
wp-trac at lists.automattic.com
Sat Apr 24 20:15:10 UTC 2010
#12307: files missing closing php tags
--------------------------+-------------------------------------------------
Reporter: washer | Owner: sorich87
Type: defect (bug) | Status: reopened
Priority: lowest | Milestone: 3.0
Component: General | Version: 2.9.2
Severity: trivial | Resolution:
Keywords: has-patch |
--------------------------+-------------------------------------------------
Changes (by nacin):
* keywords: has-patch reporter-feedback => has-patch
* status: closed => reopened
* type: feature request => defect (bug)
* resolution: invalid =>
* milestone: => 3.0
Comment:
Re-opening.
It is the WordPress coding standard to include closing PHP tags on files
that are not expected to be edited.
That excludes a theme's functions.php and wp-config.php.
The 'headers already sent' argument only works for those files. All core
files should not be edited, and should have closing tags.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12307#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list