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