When using switch_to_blog() with a persistent object cache that lacks wp_cache_switch_to_blog() support, non-persistent groups are not maintained
|Reported by:||markjaquith||Owned by:|
|Component:||Cache API||Keywords:||has-patch needs-testing needs-unit-tests needs-refresh|
If you're using a persistent object cache that lacks the new wp_cache_switch_to_blog() support, WordPress core elses into a complete cache clobbering branch. It is smart about grabbing the global groups and re-adding those after wp_cache_init() is called, but it doesn't do the same for non-persistent groups. Those are a hardcoded array. So if you call switch_to_blog(), you would lose any custom-added non-persistent groups.
Change History (17)
- Milestone changed from 3.9 to Future Release
- Priority changed from normal to low