Ever have this problem when upgrading WordPress…


A recently upgraded WP blog looked great, seemed to be working great, until we noticed it wasn’t counting comments. It listed all posts as having 0 comments, even if they had one, or several.

I’d never had the problem before, but since a Google search produced lots and lots of other people having the same problem… going as far back as WP 2.5 … I thought I better not lose this link to a bit of php code which solved the problem handily.

http://wordpress.org/support/topic/164904


3 Responses to “Ever have this problem when upgrading WordPress…”

  • I’m having this same problem right now. It still shows 0 comments even after I refresh the page several times.

  • With any luck, the code at the link provided should work for you. Keep it handy, though, because I had to re-run the script again a few weeks later to let the count catch up with the comments.

  • RaiulBaztepo:

    Hello!
    Very Interesting post! Thank you for such interesting resource!
    PS: Sorry for my bad english, I’v just started to learn this language ;)
    See you!
    Your, Raiul Baztepo

Leave a Reply