Make WordPress Core

Opened 8 years ago

Last modified 8 years ago

#11431 closed enhancement

object cache's terms bucket potentially contains junk — at Initial Version

Reported by: Denis-de-Bernardy Owned by: ryan
Milestone: 3.1 Priority: normal
Severity: normal Version:
Component: Cache API Keywords: early has-patch commit
Focuses: Cc:


We've a few occurrences of things such as:

wp_cache_add( $cache_key, $terms, 'terms' );

... in taxonomy.php. These are not flushed when the terms cache gets flushed, and end up stored in memcached indefinitely. We should at least add a timeout, maybe after a day.

Better yet, we should flush them properly.

Change History (0)

Note: See TracTickets for help on using tickets.