[wp-trac] Re: [WordPress Trac] #7685: No closing PHP tag in functions.wp-styles.php and functions.wp-scripts.php

WordPress Trac wp-trac at lists.automattic.com
Thu Sep 4 18:10:58 GMT 2008


#7685: No closing PHP tag in functions.wp-styles.php and functions.wp-scripts.php
--------------------------+-------------------------------------------------
 Reporter:  alexrabe      |        Owner:  anonymous
     Type:  defect        |       Status:  closed   
 Priority:  lowest        |    Milestone:           
Component:  Optimization  |      Version:           
 Severity:  minor         |   Resolution:  wontfix  
 Keywords:                |  
--------------------------+-------------------------------------------------
Changes (by Otto42):

  * status:  new => closed
  * version:  2.7 =>
  * resolution:  => wontfix
  * milestone:  2.7 =>

Comment:

 No closing ?> tag is the preferred style in most web applications. This
 prevents accidental whitespace at the end of the file from being output
 prematurely (before headers and such are sent).

 While it's not generally the style in WordPress, it is the recommended
 style by virtually all of the PHP community.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/7685#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list