Opened 12 years ago
Closed 12 years ago
#31109 closed defect (bug) (invalid)
cosmetic fixes to comment.php
| Reported by: | CalEvans | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Comments | Version: | 4.2 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
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 configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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!