[wp-trac] [WordPress Trac] #21879: wp_count_posts() cache is not destroyed after post inserts and deletions
WordPress Trac
noreply at wordpress.org
Sun Feb 2 00:07:20 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 commit | Focuses:
------------------------------+--------------------
Changes (by wonderboymusic):
* keywords: has-patch => has-patch commit
Comment:
After writing some unit tests, turns out this way scarier than I thought.
[attachment:21879.2.diff 21879.2.diff] is the required fix. Gonna let this
sit here for a little bit for feedback.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/21879#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list