Opened 10 years ago
Closed 10 years ago
#31109 closed defect (bug) (invalid)
cosmetic fixes to comment.php
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 4.2 |
Component: | Comments | Keywords: | |
Focuses: | Cc: |
Description
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=
Attachments (1)
Change History (2)
Note: See
TracTickets for help on using
tickets.
Please note that formatting cleanup tickets are generally discouraged. Coding style fixes should be a result of more substantial changes: http://make.wordpress.org/core/2011/03/23/code-refactoring/. But thanks for the patch!