Changeset 9618
- Timestamp:
- 11/11/2008 08:40:36 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.php
r9616 r9618 113 113 * @return string The date, translated if locale specifies it. 114 114 */ 115 function date_i18n( $dateformatstring, $unixtimestamp , $gmt = false ) {115 function date_i18n( $dateformatstring, $unixtimestamp = false, $gmt = false ) { 116 116 global $wp_locale; 117 117 $i = $unixtimestamp; 118 118 // Sanity check for PHP 5.1.0- 119 if ( intval($i) < 1)119 if ( false === $i || intval($i) < 0 ) 120 120 $i = time(); 121 121
Note: See TracChangeset
for help on using the changeset viewer.