Make WordPress Core


Ignore:
Timestamp:
02/26/2014 10:04:52 PM (11 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/taxonomy.php

    r27262 r27300  
    12881288    $last_changed = wp_cache_get( 'last_changed', 'terms' );
    12891289    if ( ! $last_changed ) {
    1290         $last_changed = microtime( true );
     1290        $last_changed = microtime();
    12911291        wp_cache_set( 'last_changed', $last_changed, 'terms' );
    12921292    }
     
    27512751    }
    27522752
    2753     wp_cache_set( 'last_changed', microtime( true ), 'terms' );
     2753    wp_cache_set( 'last_changed', microtime(), 'terms' );
    27542754}
    27552755
Note: See TracChangeset for help on using the changeset viewer.