Changeset 17747
- Timestamp:
- 04/28/2011 03:13:30 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.php
r17643 r17747 85 85 global $wp_locale; 86 86 $i = $unixtimestamp; 87 // Sanity check for PHP 5.1.0-88 if ( false === $i || intval($i) < 0 ) {89 if ( ! $gmt )90 $i = current_time( 'timestamp' );91 else92 $i = time();93 // we should not let date() interfere with our94 // specially computed timestamp95 $gmt = true;96 }97 87 98 88 // store original value for language with untypical grammars
Note: See TracChangeset
for help on using the changeset viewer.