1 | Index: wp-includes/functions.php |
---|
2 | =================================================================== |
---|
3 | --- wp-includes/functions.php (revision 5282) |
---|
4 | +++ wp-includes/functions.php (working copy) |
---|
5 | @@ -8,7 +8,7 @@ |
---|
6 | if ( empty($m) ) { |
---|
7 | return false; |
---|
8 | } |
---|
9 | - $i = mktime(substr($m,11,2),substr($m,14,2),substr($m,17,2),substr($m,5,2),substr($m,8,2),substr($m,0,4)); |
---|
10 | + $i = mktime((int)substr($m,11,2),(int)substr($m,14,2),(int)substr($m,17,2),(int)substr($m,5,2),(int)substr($m,8,2),(int)substr($m,0,4)); |
---|
11 | |
---|
12 | if( 'U' == $dateformatstring ) |
---|
13 | return $i; |
---|