WordPress.org

Ready to get started?Download WordPress

Forums

Pending Comments gives wrong count (12 posts)

  1. meenzal
    Member
    Posted 2 years ago #

    Since the update to the new format, the comment count on the top banner and in the All Posts lists are wrong. The banner shows 9 comments waiting for moderation when there are none, and in the All Posts list, it shows a count of zero yet the balloon is highlighted and mouseover produces a "1 comment waiting" even though there are none. Even clicking on the highlighted balloon does no good. I am transported to the comments section, which shows no comments waiting. Yet the balloon remains highlighted on some articles. Every time I get a comments, the count on the banner increments by one, no matter the number of comments. It never decrements.

    It doesn't hurt the operation, but it's certainly annoying. In the next release, it would be nice to be able to customize what shows up on the banner so we can eliminate the broken aspects.

  2. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    What banner are you talking about?

  3. meenzal
    Member
    Posted 2 years ago #

    The banner that goes across the top of the screen when logged in as admin and appears on all screens. Sorry, I should have been more specific. Perhaps I should have called it a theme independent menu bar.

    Left to right it contains the WP logo, site name, comments pending, + New, username and search icon.

  4. That's called the Admin Toolbar :)

    Try flushing your browser cache.

  5. meenzal
    Member
    Posted 2 years ago #

    Ah! Okay. :-) Admin toolbar it is.

    But no, that doesn't help. In fact, I just did a computer cleanup with Ace Utilities and TweakNow, which cleans up the browser cache among many other things. This miscount follows through all maintenance and multiple reboots. It started with a count of 1 right off the bat, and continues to climb. It now reads 9.

    I use IntenseDebate for comments, by the way. I first disabled, and then uninstalled it to see if the count remained. It did. I have searched through every page of my comments, but I cannot find an unapproved comments, regardless of which view I use. There are no unapproved comments or comments awaiting moderation. Yet the count says there is.

    As I said, it doesn't appear to interfere with the operation in any way. It just sits there, as do the highlighted 'talk' balloons in the All Posts list. I can live with it but I'm curious about the cause.

  6. I'm gonna go with a plugin issue with Intense Debate, since I've not seen anyoen else with this one.

  7. meenzal
    Member
    Posted 2 years ago #

    I gave that some thought, and that's why, as I said above, I tried disabling it and then fully removing it entirely, both with no effect on the problem.

    Perhaps there's something in the server environment the latest WP rev doesn't like. I run CentOS with a VirtualMin front end on it (I am my ISP). The WP counts in terms of the comments page headers all show the right numbers, it only hoses them on the new Admin toolbar. And it highlights the comment count balloon on the Post List pages showing an accurate 0 (zero) for a count while the mouseover claims 1 comment waiting.

    Whatever it is, the update shares at least half the responsibility for it, with the OS environment possibly taking the other half. WP quality checkers can't try every possible environment, only the most common ones. So that's how I'm going to look at this. As I repeat, it's no big deal, it just makes a feature I don't need act inappropriately. It doesn't hurt anything.

  8. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    Have you tried resetting the plugins folder by PhpMyAdmin? Sometimes that is needed to clear out issues caused by incompatible plugins.

  9. meenzal
    Member
    Posted 2 years ago #

    Good call. No, I haven't done that. I'll give it a try.

  10. meenzal
    Member
    Posted 2 years ago #

    Sigh.Nope. Still says 9. :(

  11. It's possible the plugin left DB settings. Have you asked at IntenseDebate?

  12. meenzal
    Member
    Posted 2 years ago #

    They said they merely pass back the number of comments they carry for any given site. Their counts are the ones reflected in the Comments headers, which are correct. The only place I'm seeing issues is in the new elements of the latest WP update, which I am surmising just doesn't get along with my platform for some reason.

Topic Closed

This topic has been closed to new replies.

About this Topic