Helper function for getting/setting cache data
|Reported by:||johnjamesjacoby||Owned by:||johnjamesjacoby|
Most of the time when we want something from the object cache we go through a routine of: wp_cache_get(); checking a result; setting a default; setting the cache with wp_cache_set(); returning. Core should offer a neat way to do this all in one fell-swoop.
Attached patch is a proposed solution.
Change History (6)
comment:4 wonderboymusic — 4 months ago
- Owner set to johnjamesjacoby
- Status changed from new to assigned