Ticket #10332: 10332.diff
| File 10332.diff, 476 bytes (added by nacin, 21 months ago) |
|---|
-
wp-includes/functions.php
86 86 global $wp_locale; 87 87 $i = $unixtimestamp; 88 88 // Sanity check for PHP 5.1.0- 89 if ( false === $i || intval($i) < 0 ) {89 if ( false === $i || ( intval($i) < 0 && -1 === strtotime( '1969-01-01' ) ) ) { 90 90 if ( ! $gmt ) 91 91 $i = current_time( 'timestamp' ); 92 92 else
