object cache's terms bucket potentially contains junk — at Initial Version
|Reported by:||Denis-de-Bernardy||Owned by:||ryan|
|Component:||Cache API||Keywords:||early has-patch commit|
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.