[wp-trac] [WordPress Trac] #24549: Follow the WP Handbook Standard, and change The Loop of Core Themes to Use Brackets

WordPress Trac noreply at wordpress.org
Mon Oct 20 17:40:07 UTC 2014


#24549: Follow the WP Handbook Standard, and change The Loop of Core Themes to Use
Brackets
-----------------------------------+----------------------
 Reporter:  chriscct7              |       Owner:
     Type:  enhancement            |      Status:  closed
 Priority:  normal                 |   Milestone:
Component:  Bundled Theme          |     Version:  3.6
 Severity:  normal                 |  Resolution:  wontfix
 Keywords:  needs-codex has-patch  |     Focuses:
-----------------------------------+----------------------

Comment (by westonruter):

 I've updated the braces section of the handbook to indicate that it is
 inline control structures that are prohibited, not that literal braces are
 required as opposed to the alternative syntax for control structures:
 https://make.wordpress.org/core/handbook/coding-standards/php/#brace-style

 See also comment added to post: https://make.wordpress.org/core/handbook
 /coding-standards/php/#comment-19978

--
Ticket URL: <https://core.trac.wordpress.org/ticket/24549#comment:25>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list