Changeset 9740 for trunk/wp-includes/cache.php
- Timestamp:
- 11/17/2008 09:01:12 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/cache.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/cache.php
r8742 r9740 314 314 if (isset ($this->cache[$group][$id])) { 315 315 $this->cache_hits += 1; 316 return $this->cache[$group][$id]; 316 if ( is_object($this->cache[$group][$id]) ) 317 return wp_clone($this->cache[$group][$id]); 318 else 319 return $this->cache[$group][$id]; 317 320 } 318 321 … … 373 376 if (NULL === $data) 374 377 $data = ''; 378 379 if ( is_object($data) ) 380 $data = wp_clone($data); 375 381 376 382 $this->cache[$group][$id] = $data;
Note: See TracChangeset
for help on using the changeset viewer.