#49918 closed defect (bug) (invalid)
Issue related to then comment count in edit comment page.
Reported by: | sumitsingh | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Comments | Keywords: | |
Focuses: | administration | Cc: |
Description
Hi,
I have develop some custom plugin & exclude our comment in comment listing using this action(pre_get_comments). comment have been removed but comment count still showing all number of comment.may be i am using some wrong hook. if any other hook for remove custom comment in the listing & also count exclude in edit-comments.php page. let us know please.
More information see mentioned screenshot.
Thanks
Attachments (2)
Change History (6)
#1
@
4 years ago
- Keywords reporter-feedback removed
- Resolution set to invalid
- Status changed from new to closed
Hi there, welcome to WordPress Trac! Thanks for the ticket.
I'm sorry to hear you are having issues with WordPress. Please note that this Trac is used for enhancements and bug reporting for the WordPress core software, not for third-party/custom plugin, or individual support questions.
Try the support forums to get help with your custom plugin: https://wordpress.org/support/forums/.
Feel free to reopen with more details if it turns out to be an issue in WordPress core.
#2
in reply to:
↑ description
@
4 years ago
Hi there, thanks for the ticket!
I have develop some custom plugin & exclude our comment in comment listing using this action(pre_get_comments). comment have been removed but comment count still showing all number of comment.may be i am using some wrong hook.
You can use the wp_count_comments filter to change the counts as appropriate.
#4
in reply to:
↑ 3
@
4 years ago
Hi @SergeyBiryukov ,
Thank you so much for give me solution. I will try after weekend and inform you.
Thanks again :)
Replying to SergeyBiryukov:
Error screenshot file