wp-includes/SimplePie/src/Cache/BaseDataCache.php:88Persists data in the cache, uniquely referenced by a key with an optional expiration TTL time.
$keystring$valueSimplePie\Cache\array<mixed>$ttlnull|intoptionalnullbool public function set_data(string $key, array $value, ?int $ttl = null): bool { if ($ttl === null) { $ttl = 3600; } // place internal cache expiration time $value['__cache_expiration_time'] = time() + $ttl; return $this->cache->save($value); }One change between 6.7.7 and 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
$value retyped from array to SimplePie\Cache\array<mixed>.verified against sourcesrc/wp-includes/SimplePie/src/Cache/BaseDataCache.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.