Opened 4 years ago
Last modified 8 months ago
#10422 new defect (bug)
Answering to comment from Dashboard does not update Dashboard statistics
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Future Release |
| Component: | Administration | Version: | 2.8.1 |
| Severity: | normal | Keywords: | 3.2-early has-patch needs-testing needs-refresh |
| Cc: |
Description
Hi there,
there is a short statistics "Right now/At a Glance" box in Dashboard, containing number of posts, pages, comments etc.
There is also a box with list of most recent comments in the Dashboard.
If a user answers to a comment in this "Recent comments" box in Dashboard, which uses AJAX, so it does not reload the whole page, it creates a new comment, but the number of comments in the "Right now" box is not updated.
I know this is not a critical bug, but it would be really nice if it works.
Take care, Honza
P.S.: As there is no "Dashboard" component in the Trac, I did not know whether to assign it to Administration or Comments component. I put it into Administration, if you think it better suits to Comments or any other component, please feel free to change it.
Attachments (2)
Change History (9)
comment:1
honza.skypala — 4 years ago
- Milestone changed from Unassigned to Future Release
Theres something similar for other counts such as plugin update count not changing upon updating, and comment count not changing upon spamming/deleting from the dashboard.
Maybe a new function that inserts inline JS into Ajax responses about number-changes would be possible.. just a thought there.
comment:3
johnbillion — 4 years ago
Same thing applies when you create new posts/drafts with the QuickPress box on the dashboard.
- Keywords has-patch needs-testing added; Dahsboard comments statistics removed
comment:7
MikeHansenMe — 8 months ago
- Keywords needs-refresh added

Just a note - of course the complex solution would update the statistics in the "Right now" box also for other actions on comments taken in Dashboard, like deleting a comment.