[wp-trac] [WordPress Trac] #20196: No PHP closure tag in index.php
WordPress Trac
wp-trac at lists.automattic.com
Thu Mar 8 05:42:53 UTC 2012
#20196: No PHP closure tag in index.php
--------------------------+----------------------
Reporter: carldanley | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: General | Version: 3.4
Severity: trivial | Resolution: invalid
Keywords: needs-patch |
--------------------------+----------------------
Comment (by nacin):
Indeed, leaving closing PHP tags off files is valid, acceptable, and in
some cases even preferred (see http://www.php.net/manual/en/language
.basic-syntax.instruction-separation.php for a note). As dd32 points out,
we recently altered our standard to omit them everywhere. But thanks for
the patch!
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20196#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list