最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Comment count wrong with orphaned comments

programmeradmin4浏览0评论

I have a news site set up with nested comments enabled. When a comment is marked as spam it is correctly removed from the article page however so to are any replies to that comment.

This makes sense as the replies are now orphaned and don't have a parent so potentially wouldn't make any sense.

The issue I'm having though is the total count of comments still includes those orphaned comments. So an article may say it has 10 comments but actually only 5 show as the other 5 are replies to a removed comment.

Is this a bug/known issue in Wordpress as the theme i use just uses the standard wo comments system?

What would be the best solution to this, creating my own comments methods?

发布评论

评论列表(0)

  1. 暂无评论