[wp-trac] Re: [WordPress Trac] #4615: Allow more open document
formats
WordPress Trac
wp-trac at lists.automattic.com
Thu Jul 12 05:47:03 GMT 2007
#4615: Allow more open document formats
----------------------------+-----------------------------------------------
Reporter: nbachiyski | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.3 (trunk)
Component: Administration | Version:
Severity: normal | Resolution:
Keywords: |
----------------------------+-----------------------------------------------
Changes (by JeremyVisser):
* type: enhancement => defect
Comment:
Actually, the comma at the end is okay. Quoted from the PHP manual on
[http://www.php.net/manual/en/function.array.php arrays]:
Having a trailing comma after the last defined array entry, while
unusual, is a valid syntax.
And, yes, a # is a valid comment indicator, but for consistency with the
rest of the WP code, you should change it to //.
--
Ticket URL: <http://trac.wordpress.org/ticket/4615#comment:4>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list