wp-includes/SimplePie/src/Cache/BaseDataCache.php:45Fetches a value from the cache.
$keystring$defaultmixedoptionalnullarray|mixed public function get_data(string $key, $default = null) { $data = $this->cache->load(); if (!is_array($data)) { return $default; } // ignore data if internal cache expiration time is not set if (!array_key_exists('__cache_expiration_time', $data)) { return $default; } // ignore data if internal cache expiration time is expired if ($data['__cache_expiration_time'] < time()) { return $default; } // remove internal cache expiration time unset($data['__cache_expiration_time']); return $data; }Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
src/wp-includes/SimplePie/src/Cache/BaseDataCache.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.