Changeset 32657 for trunk/src/wp-includes/class-feed.php
- Timestamp:
- 05/29/2015 09:36:38 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-feed.php
r31188 r32657 37 37 } 38 38 39 /** 40 * @access public 41 */ 39 42 public function save($data) { 40 43 if ( $data instanceof SimplePie ) { … … 47 50 } 48 51 52 /** 53 * @access public 54 */ 49 55 public function load() { 50 56 return get_transient($this->name); 51 57 } 52 58 59 /** 60 * @access public 61 */ 53 62 public function mtime() { 54 63 return get_transient($this->mod_name); 55 64 } 56 65 66 /** 67 * @access public 68 */ 57 69 public function touch() { 58 70 return set_transient($this->mod_name, time(), $this->lifetime); 59 71 } 60 72 73 /** 74 * @access public 75 */ 61 76 public function unlink() { 62 77 delete_transient($this->name);
Note: See TracChangeset
for help on using the changeset viewer.