[wp-trac] [WordPress Trac] #24244: Clean post cache when post was moved to trash

WordPress Trac noreply at wordpress.org
Sat Feb 1 22:38:11 UTC 2014


#24244: Clean post cache when post was moved to trash
--------------------------+----------------------
 Reporter:  m_uysl        |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Cache API     |     Version:
 Severity:  normal        |  Resolution:  invalid
 Keywords:  has-patch     |     Focuses:
--------------------------+----------------------
Changes (by wonderboymusic):

 * status:  new => closed
 * resolution:   => invalid
 * milestone:  Awaiting Review =>


Comment:

 `clean_post_cache()` gets called in `wp_insert_post()` which gets called
 when trashing a post. To see for yourself, add an `error_log( 'called' )`
 inside of `clean_post_cache()` and watch your Apache log while trashing a
 post.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/24244#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list