diff options
| author | 2022-01-02 18:11:42 +0100 | |
|---|---|---|
| committer | 2022-01-02 18:11:42 +0100 | |
| commit | ba0e690235ba219fbff26f64fc0e7ce1b35cdc0b (patch) | |
| tree | adb7e540fb6d11f084e888cebd3ad7f90b79c3a2 | |
| parent | 0bb3e5ef12ea9e7d9966d346cd5b0ec23f9caf30 (diff) | |
SimplePie 1.5.8 manual upgrade (#4113)
Follow-up of https://github.com/FreshRSS/FreshRSS/pull/4011
Instead of https://github.com/FreshRSS/FreshRSS/pull/4102
* https://github.com/simplepie/simplepie/commit/bea5de77afc274dc7c36cac39cdf53de346a5b50
* https://github.com/simplepie/simplepie/commit/5aab77e105d4384c9bb1a747010f380c0506f7a2
* https://github.com/simplepie/simplepie/commit/76be63e72ea6867d9982bf9bd97ba706b196d602
| -rw-r--r-- | lib/SimplePie/SimplePie.php | 8 | ||||
| -rw-r--r-- | lib/SimplePie/SimplePie/Cache/Redis.php | 2 | ||||
| -rw-r--r-- | lib/SimplePie/SimplePie/Locator.php | 1 | ||||
| -rw-r--r-- | lib/SimplePie/SimplePie/Sanitize.php | 1 |
4 files changed, 7 insertions, 5 deletions
diff --git a/lib/SimplePie/SimplePie.php b/lib/SimplePie/SimplePie.php index fbb0041f6..4a02b2973 100644 --- a/lib/SimplePie/SimplePie.php +++ b/lib/SimplePie/SimplePie.php @@ -33,7 +33,7 @@ * POSSIBILITY OF SUCH DAMAGE. * * @package SimplePie - * @version 1.5.6 + * @version 1.5.8 * @copyright 2004-2017 Ryan Parman, Sam Sneddon, Ryan McCue * @author Ryan Parman * @author Sam Sneddon @@ -50,7 +50,7 @@ define('SIMPLEPIE_NAME', 'SimplePie'); /** * SimplePie Version */ -define('SIMPLEPIE_VERSION', '1.5.6'); +define('SIMPLEPIE_VERSION', '1.5.8'); /** * SimplePie Build @@ -1389,7 +1389,7 @@ class SimplePie * configuration options get processed, feeds are fetched, cached, and * parsed, and all of that other good stuff. * - * @return positive integer with modification time if using cache, boolean true if otherwise successful, false otherwise + * @return boolean|integer positive integer with modification time if using cache, boolean true if otherwise successful, false otherwise */ public function init() { @@ -1845,7 +1845,7 @@ class SimplePie } /** - * Get the error message for the occured error + * Get the error message for the occurred error * * @return string|array Error message, or array of messages for multifeeds */ diff --git a/lib/SimplePie/SimplePie/Cache/Redis.php b/lib/SimplePie/SimplePie/Cache/Redis.php index dbc88e829..a5925bec2 100644 --- a/lib/SimplePie/SimplePie/Cache/Redis.php +++ b/lib/SimplePie/SimplePie/Cache/Redis.php @@ -152,7 +152,7 @@ class SimplePie_Cache_Redis implements SimplePie_Cache_Base { 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; } diff --git a/lib/SimplePie/SimplePie/Locator.php b/lib/SimplePie/SimplePie/Locator.php index ebc7ec9c1..c5fae0579 100644 --- a/lib/SimplePie/SimplePie/Locator.php +++ b/lib/SimplePie/SimplePie/Locator.php @@ -64,6 +64,7 @@ class SimplePie_Locator var $max_checked_feeds = 10; var $force_fsockopen = false; var $curl_options = array(); + var $dom; protected $registry; public function __construct(SimplePie_File $file, $timeout = 10, $useragent = null, $max_checked_feeds = 10, $force_fsockopen = false, $curl_options = array()) diff --git a/lib/SimplePie/SimplePie/Sanitize.php b/lib/SimplePie/SimplePie/Sanitize.php index 7d83bbbf1..300a47800 100644 --- a/lib/SimplePie/SimplePie/Sanitize.php +++ b/lib/SimplePie/SimplePie/Sanitize.php @@ -71,6 +71,7 @@ class SimplePie_Sanitize var $useragent = ''; var $force_fsockopen = false; var $replace_url_attributes = null; + var $registry; /** * List of domains for which to force HTTPS. |
