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/general-template.php

    r27262 r27300  
    986986    $last_changed = wp_cache_get( 'last_changed', 'posts' );
    987987    if ( ! $last_changed ) {
    988         $last_changed = microtime( true );
     988        $last_changed = microtime();
    989989        wp_cache_set( 'last_changed', $last_changed, 'posts' );
    990990    }
Note: See TracChangeset for help on using the changeset viewer.