Changeset 17613 for trunk/wp-includes/cache.php
- Timestamp:
- 04/06/2011 05:44:29 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/cache.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/cache.php
r17604 r17613 351 351 $this->cache_hits += 1; 352 352 if ( is_object($this->cache[$group][$id]) ) 353 return wp_clone($this->cache[$group][$id]);353 return clone $this->cache[$group][$id]; 354 354 else 355 355 return $this->cache[$group][$id]; … … 427 427 428 428 if ( is_object($data) ) 429 $data = wp_clone($data);429 $data = clone $data; 430 430 431 431 $this->cache[$group][$id] = $data;
Note: See TracChangeset
for help on using the changeset viewer.