[wp-trac] [WordPress Trac] #31109: cosmetic fixes to comment.php
WordPress Trac
noreply at wordpress.org
Fri Jan 23 17:58:10 UTC 2015
#31109: cosmetic fixes to comment.php
--------------------------+-----------------------------
Reporter: CalEvans | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Comments | Version: trunk
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
While I was working on the unit tests for check_comment, I noticed and
fixed a yoda condition. Also added curly braces around some of the IF
statements Both of these were to bring the function in line with current
coding practices. No logic changes in this one and the unit tests still
pass.
=C=
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31109>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list