[wp-trac] [WordPress Trac] #14896: Code cleanup: Missing braces, confusing wrong indent in functions.php

WordPress Trac wp-trac at lists.automattic.com
Sun Sep 19 02:29:48 UTC 2010


#14896: Code cleanup: Missing braces, confusing wrong indent in functions.php
--------------------------+-------------------------------------------------
 Reporter:  joelhardi     |       Owner:                        
     Type:  defect (bug)  |      Status:  new                   
 Priority:  normal        |   Milestone:  Awaiting Review       
Component:  General       |     Version:  3.1                   
 Severity:  trivial       |    Keywords:  dev-feedback has-patch
--------------------------+-------------------------------------------------
 Patch is for current trunk r15633.

 This is code cleanup only. There's a one-line foreach loop missing braces
 (per [http://codex.wordpress.org/WordPress_Coding_Standards#Brace_Style
 WordPress code style]) immediately followed by misindented code that makes
 it look like it is inside the foreach loop, when it is not.

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


More information about the wp-trac mailing list