Opened 6 years ago
Last modified 6 years ago
#46017 new defect (bug)
"Mine" comment count isn't updated when replying to or moderating a comment.
Reported by: | pento | Owned by: | |
---|---|---|---|
Milestone: | Future Release | Priority: | normal |
Severity: | normal | Version: | 5.1 |
Component: | Comments | Keywords: | needs-testing needs-refresh has-patch |
Focuses: | administration | Cc: |
Description
To reproduce:
- Visit
/wp-admin/edit-comments.php
. - Click Reply on a comment.
- Type some text in the comment, click Reply.
The "All" and "Approved" counts update as expected, but the "Mine" count doesn't.
Attachments (2)
Change History (7)
This ticket was mentioned in Slack in #core by peterwilsoncc. View the logs.
6 years ago
#4
@
6 years ago
- Keywords needs-refresh added
The same bug occurs when a user changes the status (un/approve, trash or spam) of their own comment in via the actions.
As the bug is more than a quick fix, I'm inclined to move it off 5.1 for a later release.
@itzmekhokan your patch works as expected for a reply but misses the other actions. Do you think you'll be able to work on an update? It's no problem if you don't have time.
#5
@
6 years ago
- Milestone changed from 5.1 to Future Release
- Summary changed from "Mine" comment count isn't updated when adding a comment. to "Mine" comment count isn't updated when replying to or moderating a comment.
Dropping this off the milestone, as noted above this occurs for all actions that should modify the "mine" count.
The fix may require modifications to the ajax responses/additional data-
attributes in the comment list table.
The "All" and "Approved" commemts counts updated values comes from edit-comments.js.