#1930 closed defect (bug) (fixed)
upgrade code counts spam and moderated when setting comment_count column
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | major | Version: | 1.6 |
| Component: | Administration | Keywords: | bg|has-patch bg|commit |
| Focuses: | Cc: |
Description
When the upgrade code iterates through the posts and sets the comment_count value, it neglects to restrict the value to approved comments ( comment_approved = '1').
Patch fixes it. Also note #1920 for a related bug (comment_count being set incorrectly when comments are submitted, which could perpetuate errors made during the upgrade).
Attachments (1)
Note: See
TracTickets for help on using
tickets.
patch for WP 2.0 SVN