Changeset 31188 for trunk/src/wp-includes/class-feed.php
- Timestamp:
- 01/16/2015 01:05:52 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-feed.php
r28505 r31188 38 38 39 39 public function save($data) { 40 if ( is_a($data, 'SimplePie') )40 if ( $data instanceof SimplePie ) { 41 41 $data = $data->data; 42 } 42 43 43 44 set_transient($this->name, $data, $this->lifetime);
Note: See TracChangeset
for help on using the changeset viewer.