WordPress.org

Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #19869, comment 1


Ignore:
Timestamp:
01/21/12 07:21:50 (6 years ago)
Author:
DrewAPicture
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #19869, comment 1

    v1 v2  
    1 I'm not sure this is valid. I know that !WordPress coding standards normally calls for single spaces inside of opening and closing parentheses with `functions` and on both sides with `if`, `foreach` and `switch` statements. Shouldn't defining `constants` follow a similar pattern? 
     1I'm not sure this is valid. I know that !WordPress [http://codex.wordpress.org/WordPress_Coding_Standards#Space_Usage coding standards] normally calls for single spaces inside of opening and closing parentheses with `functions` and on both sides with `if`, `foreach` and `switch` statements. Shouldn't defining `constants` follow a similar pattern?