WordPress 2.5 moderate comments bug

Thursday, June 19th, 2008

There’s a bug with 2.5 that doesn’t allow you to moderate comments. The problem is with the _wp_get_comment_list function and how it retrieves counts from the database specifically a missing column index. Running this line on your database should fix the problem:

ALTER TABLE wp_comments ADD INDEX ( comment_date_gmt );