Revert [27115] and let cache backends handle the stripping of spaces in cache keys as necessary.

microtime() returns greater precision than microtime(true).

see #27000, #23448, #26903, #14485.

Built from https://develop.svn.wordpress.org/trunk@27300


git-svn-id: http://core.svn.wordpress.org/trunk@27153 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Nacin
2014-02-26 22:05:13 +00:00
parent 044ab93430
commit d24a109288
4 changed files with 8 additions and 8 deletions

View File

@@ -3733,7 +3733,7 @@ function get_pages( $args = array() ) {
$key = md5( serialize( compact(array_keys($defaults)) ) );
$last_changed = wp_cache_get( 'last_changed', 'posts' );
if ( ! $last_changed ) {
$last_changed = microtime( true );
$last_changed = microtime();
wp_cache_set( 'last_changed', $last_changed, 'posts' );
}
@@ -4754,7 +4754,7 @@ function clean_post_cache( $post ) {
do_action( 'clean_page_cache', $post->ID );
}
wp_cache_set( 'last_changed', microtime( true ), 'posts' );
wp_cache_set( 'last_changed', microtime(), 'posts' );
}
/**