Opened 11 years ago
Closed 11 years ago
#24244 closed defect (bug) (invalid)
Clean post cache when post was moved to trash
Reported by: | m_uysl | 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.