Ticket #2159 (closed defect (bug): worksforme)
Comment Counter off again
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Administration | Version: | 2.0 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
The comment counter is not updated when you use mass edit mode to delete a comment. It doesn't get updated until another comment is left on that post or a comment on that post is deleted in normal mode.
From WP-Testers
Attachments
Change History
MikeLittle — 6 years ago
-
attachment
edit-comments.php.patch
added
- Status changed from new to closed
- Resolution set to fixed
- Status changed from closed to reopened
- Resolution fixed deleted
After upgrading from wp 1.5.2 to wp-2.0 the new version has stopped counting my comments below the posts.It only shows the old amount of comments and not the new ones that were added after upgrading.
For example if there where 4 comments before upgrade below the post the tag comments_popup_link said ; 4 comments. After upgrade it still says that there are four comments even there where new ones added.
I have uploaded the new file and made a test comment. Nothing changeed. This does not work correctly even in the adminarea (manage-post-area) only the old amount of comments shows up next to the post. But in the comment edit area the comments are really there...
But when re-editing a comment and save it agian the counter starts to work again.
comment:4
markjaquith — 6 years ago
Some old comment plugins like Spam Karma 2 will do this. Repeat: versions of Spam Karma 2 that haven't specifically been updated to be compatable with WP 2.0 WILL mess up your comment counts.
comment:5
davidhouse — 6 years ago
So was SK2 the culprit or is this still a bug?
- Status changed from reopened to closed
- Resolution set to fixed
Hi,
I submitted a patch for Paged Comment Editing plugin (revision 4608).
Most of WordPress user that using Paged Comment Editing didn't aware this. I'm applying the same patch made to edit-comments.php.
- Status changed from closed to reopened
- Resolution fixed deleted
Comment count is still wonky in 2.02. It seems that
<h3 id="comments"><?php comments_number('No Comments', 'One Comment', '% Comments' );?></h3>
in /themes/personal/wp-comments.php doesn't work at all.
The post management area also reports a lot too few comments; it's not a complete loss, but it's bad enough that I've changed the wp-comments.php from comments_number() to "Comments:".
I show comments on the whole blog, including the index and the various archives and categories, as well as on single posts.
Thanks, Henriette
comment:10
Hetta — 6 years ago
Oops, that's themes/personal/comments.php, of course.
comment:11
Viper007Bond — 6 years ago
Works just fine here...
comment:12
foolswisdom — 5 years ago
- Status changed from reopened to closed
- Resolution set to worksforme
- Milestone 2.0.1 deleted
Closing Worksforme using the reprod steps initially reported by masquerade.
ENV: 2.1-alpha3+ (r4198)
Hetta, are you still seeing this issue? Are there additional details to the scenario? Could it related to plugins you have installed?

Patch to fix issue #2159