Whoa…this must have been one of the longest bugs I have ever had the displeasure of being afflicted with, but after 36 hours of not having my comment count updated everytime someone commented and one friend in the loop of things. I’ve got the bug effectively licked.
Apparently it really was a plugin that was causing all the problems in the first place. More specifically it was Spam Karma 2 that was causing the whole comment count to be affected and not be updated everytime someone commented.
So now I have disabled Spam Karma 2 and have gone back to using Akismet. Hopefully, no one else would have the problem of being considered spam on my blog seeing that Akismet is still a bit…twitchy sometimes. That would be just as bad as not having the comment count on any post…but at least I can see who gets moderated by the spam filter.
It seems that my little boo boo isn’t really a bug, or rather it isn’t so much the WordPress code that was giving me the problem. It was just a problematic incompatible plugin. But rest assured, all this is not in vain…although I did act like an idiot trying to get my comments back on order, it seems that there is indeed a bug with the comment count in WordPress that leaves affected posts with the incorrect comment count…which apparently has been corrected by the same guy who helped me to troubleshoot the issue (thanks Mark).
So let this be a lesson to me. Let it not be said that some things would go wrong because it is wrong, but things go wrong because you yourself overlooked what went wrong. I should have been smart enough to see the problem but I didn’t. Probably because I had an exam to study for, but that’s just an excuse…a pretty darn good one in fact.