@shadyvb I think this relates to the unit test I added in b4a0ad5.

Yes, check for `wp_cache_set` tobe used in the same function scope, not in the same block.