wp/wp-includes/SimplePie/Cache/Redis.php
changeset 19 3d72ae0968f4
parent 16 a86126ab1dd4
--- a/wp/wp-includes/SimplePie/Cache/Redis.php	Wed Sep 21 18:19:35 2022 +0200
+++ b/wp/wp-includes/SimplePie/Cache/Redis.php	Tue Sep 27 16:37:53 2022 +0200
@@ -152,7 +152,7 @@
         if ($data !== false) {
             $return = $this->cache->set($this->name, $data);
             if ($this->options['expire']) {
-                return $this->cache->expire($this->name, $this->ttl);
+                return $this->cache->expire($this->name, $this->options['expire']);
             }
             return $return;
         }