diff --git a/object-cache.php b/object-cache.php index e4e115e6e9dbf0dea7a18e7fca18942596ac9ac4..b34763ad561894e03d65e5860832754d5ff5017e 100644 --- a/object-cache.php +++ b/object-cache.php @@ -554,6 +554,9 @@ class WP_Object_Cache { // Build an array of values looked up, keyed by the derived cache key $group_cache = array_combine( $derived_keys, $group_cache ); + // Restores cached data to its original data type + $group_cache = array_map( array( $this, 'restore_value_from_redis' ), $group_cache ); + // Redis returns null for values not found in cache, but expected return value is false in this instance $group_cache = array_map( array( $this, 'filter_redis_get_multi' ), $group_cache );