Opened 13 years ago
Closed 11 years ago
#25556 closed defect (bug) (fixed)
Recent Comments widget does not flush cache when a post is trashed
| Reported by: | kovshenin | Owned by: | wonderboymusic |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.4 |
| Component: | Widgets | Version: | 2.8 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
Description
Steps to reproduce:
- Make sure persistent object caching is enabled
- Drop a recent comments widget to your sidebar
- Create a new post, comment on it
- Trash the post
Comment will still be visible in the widget, the link will lead to a 404.
Attachments (1)
Change History (7)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
25556.diff flushes the widget cache during post status transitions. We could probably go further and check whether the post type supports and/or has comments.