This commit is contained in:
root@pico committed 2015-05-01 21:20:47 +02:00
1 parent 70d2335bba
commit 7428b67da5
1086 files changed
+94145 -59082

No files matched your search

+2 -1
View File
@@ -37,8 +37,9 @@ class WP_Feed_Cache_Transient {
}
public function save($data) {
if ( is_a($data, 'SimplePie') )
if ( $data instanceof SimplePie ) {
$data = $data->data;
}
set_transient($this->name, $data, $this->lifetime);
set_transient($this->mod_name, time(), $this->lifetime);