Ticket #2159 (closed defect: worksforme)

Opened 3 years ago

Last modified 2 years ago

Comment Counter off again

Reported by: masquerade Assigned to: anonymous
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

edit-comments.php.patch (0.6 kB) - added by MikeLittle on 12/28/05 00:25:13.
Patch to fix issue #2159
paged-comment-editing.patch (503 bytes) - added by zeo on 01/12/06 04:56:24.
Paged Comment Editing Plugin patch

Change History

12/28/05 00:25:13 changed by MikeLittle

  • attachment edit-comments.php.patch added.

Patch to fix issue #2159

12/28/05 00:42:43 changed by ryan

  • status changed from new to closed.
  • resolution set to fixed.

(In [3366]) Use API to delete comment so that counts are kept in sync. Props Mike Little. fixes #2159

12/29/05 00:34:21 changed by mazalien

  • status changed from closed to reopened.
  • resolution 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.

12/29/05 00:40:23 changed by mazalien

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.

12/30/05 06:10:42 changed by markjaquith

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.

12/30/05 14:26:15 changed by davidhouse

So was SK2 the culprit or is this still a bug?

01/06/06 01:43:30 changed by ryan

  • milestone changed from 2.0 to 2.0.1.

01/07/06 06:39:32 changed by ryan

I'm not seeing any comment count problems anymore. Anyone else?

01/12/06 04:56:24 changed by zeo

  • attachment paged-comment-editing.patch added.

Paged Comment Editing Plugin patch

01/12/06 05:00:46 changed by zeo

  • 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.

03/15/06 15:10:43 changed by Hetta

  • status changed from closed to reopened.
  • resolution 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

03/15/06 15:11:44 changed by Hetta

Oops, that's themes/personal/comments.php, of course.

03/16/06 09:44:06 changed by Viper007Bond

Works just fine here...

09/20/06 21:06:28 changed by foolswisdom

  • status changed from reopened to closed.
  • resolution set to worksforme.
  • milestone 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?