[wp-trac] [WordPress Trac] #21879: wp_count_posts() cache is not destroyed after post inserts and deletions

WordPress Trac noreply at wordpress.org
Sat Feb 1 22:55:36 UTC 2014


#21879: wp_count_posts() cache is not destroyed after post inserts and deletions
--------------------------+--------------------
 Reporter:  mark8barnes   |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.9
Component:  Cache API     |     Version:  3.4.2
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+--------------------
Changes (by wonderboymusic):

 * keywords:  has-patch needs-testing => has-patch
 * milestone:  Awaiting Review => 3.9


Comment:

 This only needs to happen on `'transition_post_status'`.
 [attachment:21879.diff 21879.diff] does this
 in`_transition_post_status()`.

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


More information about the wp-trac mailing list