• Hi all,

    a very tricky question/problem .. well at least for me – allready gave up troubleshooting as i’m kinda lost allready …

    problem :
    the comment count shown on the /wp-admin/edit-comments.php is not shown correctly.Normally it should show the correct comments for the corresponding posts. in my case the COMPLETE COMMENT COUNT of the table wp_comments WITHOUT trackbacks/pingbacks is shown.

    screenshot

    within the edit post view the comment count is completely fine

    screenshot

    This also happens with ALL PLUGINS disabled.

    i checked the wp-admin/includes/template.php and found out that comments_number is called to get this count. this function calls get_comments_number which returns $count – i echoed the $count value and it was correct there. as soon as it passes the apply_filter to get back to comments_numer the value is messed up with the full comments count (without trackback/pingback) from the wp_comments table.

    scary eh?

    really – no clue whats going on here – any suggestion will do…

    –rgds marcO

The topic ‘admin edit-comments.php shows wrong comment count’ is closed to new replies.