Make sure the wp_cache_reset function exists