[wp-trac] [WordPress Trac] #11309: Standardize parentheses around require/include statements

WordPress Trac wp-trac at lists.automattic.com
Wed Dec 2 22:53:58 UTC 2009


#11309: Standardize parentheses around require/include statements
--------------------------+-------------------------------------------------
 Reporter:  nacin         |       Owner:                
     Type:  defect (bug)  |      Status:  new           
 Priority:  normal        |   Milestone:  Future Release
Component:  General       |     Version:                
 Severity:  normal        |    Keywords:  dev-feedback  
--------------------------+-------------------------------------------------
 99.9% of the time, require and include (and *_once) statements don't need
 parentheses.

 All but about 10 instances, these statements use parenthesis. We should
 either remove all of them (personally, less parentheses is always good) or
 make it a coding standard to always have them, and add them to the
 remaining instances.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/11309>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list