升级到WP2.1的问题

即使我使用WP2.1的默认模版,也发现当对post作comment的时候,comment的总计数不再自动更新了。
也就是你们现在可以看到”No Response to” 某某文章,但是实际上这篇文章是有留言的。

搞得我现在只能手动执行下面这样的SQL,来定期更新,我觉得应该是某个插件的问题。

  1. update wp_posts SET comment_count = (SELECT COUNT(*) FROM wp_comments WHERE comment_post_ID = 240 AND comment_approved = '1') where id=240

Update@2007-2-3
最终发现Spam Karma 2插件的版本没有更新到2.0导致的,升级以后OK了,终于可以宣告这次WP升级完成了。

3 comments to 升级到WP2.1的问题

Leave a Reply

 

 

 

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">