wp-includes/SimplePie/src/Cache/Memcached.php:51Create a new cache object
$locationstring$namestring$typeSimplePie\Cache\Base::TYPE_FEED|SimplePie\Cache\Base::TYPE_IMAGE public function __construct(string $location, string $name, $type) { $this->options = [ 'host' => '127.0.0.1', 'port' => 11211, 'extras' => [ 'timeout' => 3600, // one hour 'prefix' => 'simplepie_', ], ]; $this->options = array_replace_recursive($this->options, \SimplePie\Cache::parse_URL($location)); $this->name = $this->options['extras']['prefix'] . md5("$name:$type"); $this->cache = new NativeMemcached(); $this->cache->addServer($this->options['host'], (int)$this->options['port']); }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/Memcached.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.