WordPress Comment Counter Hell

2006-12-02 17:24:13 GMT

The comment counters of my articles have been messed up. I've noticed this thing several months ago and it's probably related to WordPress updates. I set the counters manually within phpMyAdmin for the first time it happened, but I got pretty pissed off when it already happened later so I decided to fix this mess. I've googled around for the solution and found a pretty good script to solve the problem which was a bit buggy and incomplete, so I fixed it.

Here you are:

You can fetch it here. Just copy it to your "wp-admin" directory and point your browser to its URL.