Ticket #9588: 9588.10.diff
File 9588.10.diff, 534 bytes (added by , 16 years ago) |
---|
-
wp-includes/functions.php
88 88 $i = $unixtimestamp; 89 89 // Sanity check for PHP 5.1.0- 90 90 if ( false === $i || intval($i) < 0 ) { 91 if ( ! $gmt ) 92 $i = current_time( 'timestamp' ); 93 else 94 $i = time(); 91 $i = current_time( 'timestamp', $gmt ); 95 92 // we should not let date() interfere with our 96 93 // specially computed timestamp 97 94 $gmt = true;