Alexandre Alapetite authored and GitHub committed 2022-01-02 18:11:42 +01:00
1 parent 0bb3e5ef12
commit ba0e690235
4 files changed
+7 -5

No files matched your search

+4 -4
View File
@@ -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
*/
+1 -1
View File
@@ -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;
}
+1
View File
@@ -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())
+1
View File
@@ -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.