WordPress.org

Make WordPress Core


Ignore:
Timestamp:
02/26/2014 10:04:52 PM (7 years ago)
Author:
nacin
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/post.php

    r27262 r27300  
    37343734    $last_changed = wp_cache_get( 'last_changed', 'posts' );
    37353735    if ( ! $last_changed ) {
    3736         $last_changed = microtime( true );
     3736        $last_changed = microtime();
    37373737        wp_cache_set( 'last_changed', $last_changed, 'posts' );
    37383738    }
     
    47554755    }
    47564756
    4757     wp_cache_set( 'last_changed', microtime( true ), 'posts' );
     4757    wp_cache_set( 'last_changed', microtime(), 'posts' );
    47584758}
    47594759
Note: See TracChangeset for help on using the changeset viewer.