[wp-trac] [WordPress Trac] #36409: Comments number is wrong
WordPress Trac
noreply at wordpress.org
Mon Apr 4 14:21:28 UTC 2016
#36409: Comments number is wrong
-----------------------------------+-----------------------------
Reporter: sidati | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Comments | Version: trunk
Severity: normal | Keywords:
Focuses: template, performance |
-----------------------------------+-----------------------------
Hi,
the comment number return the number of approved comments, this means all
approved comments even those are replies to unapproved comments, for
example if a user post comment and people replied to it, then the admin
decide to hide this parent comment by disapproving it, the comment number
will decrease only by one and keeping counting the hidden replies
So there are two option to fix that :
1. Hold/Disapprove all children when disapproving the parent.
2. Recalculate the comment number and excluding comments has an unapproved
parent.
Regards,
Sidati
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36409>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list