[wp-trac] [WordPress Trac] #11493: plugin-editor Closing PHP
WordPress Trac
wp-trac at lists.automattic.com
Sat Dec 19 11:14:26 UTC 2009
#11493: plugin-editor Closing PHP
----------------------------+-----------------------------------------------
Reporter: danbriant | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Unassigned
Component: Administration | Version: 2.9
Severity: normal | Keywords: plugin-editor
----------------------------+-----------------------------------------------
Comment(by dd32):
Not every file has the endings as such.
It also has zero chance of throwing an error, it reduces errors in
reality. PHP doesnt require a closing statement, however, it does print
whitespace if theres multiple new lines or other hidden characters after
the {{{?>}}}, which can cause bugs.
I do agree, it'd be nice if all the files followed the same pattern
though. wp-config.php is one which no longer has them, since users modify
the file, and can often lead to accidental extra output..
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11493#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list