Closed fl4p closed 5 years ago
The correct implementation has a $found reference param, because your cache should allow any possible return value. Otherwise you'll never be able to cache false values.
$found
function wp_cache_get( $key, $group = '', $force = false, &$found = null )
The correct implementation has a
$found
reference param, because your cache should allow any possible return value. Otherwise you'll never be able to cache false values.function wp_cache_get( $key, $group = '', $force = false, &$found = null )