Opened 13 years ago
Closed 12 years ago
#24244 closed defect (bug) (invalid)
Clean post cache when post was moved to trash
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | |
| Component: | Cache API | Keywords: | has-patch |
| Focuses: | Cc: |
Description
Clean post cache when post was moved to trash
Attachments (1)
Change History (2)
Note: See
TracTickets for help on using
tickets.
clean_post_cache()gets called inwp_insert_post()which gets called when trashing a post. To see for yourself, add anerror_log( 'called' )inside ofclean_post_cache()and watch your Apache log while trashing a post.