Changeset 38849 for trunk/src/wp-includes/functions.php
- Timestamp:
- 10/21/2016 02:53:19 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/functions.php
r38832 r38849 5554 5554 ); 5555 5555 } 5556 5557 /** 5558 * Get last changed date for the specified cache group. 5559 * 5560 * @since 4.7.0 5561 * 5562 * @param $group Where the cache contents are grouped. 5563 * 5564 * @return string $last_changed UNIX timestamp with microseconds representing when the group was last changed. 5565 */ 5566 function wp_cache_get_last_changed( $group ) { 5567 $last_changed = wp_cache_get( 'last_changed', $group ); 5568 5569 if ( ! $last_changed ) { 5570 $last_changed = microtime(); 5571 wp_cache_set( 'last_changed', $last_changed, $group ); 5572 } 5573 5574 return $last_changed; 5575 }
Note: See TracChangeset
for help on using the changeset viewer.