Ticket #8662: 8662-wp_current_time-2.patch
| File 8662-wp_current_time-2.patch, 506 bytes (added by hakre, 4 years ago) |
|---|
-
wp-includes/functions.php
66 66 case 'timestamp': 67 67 return ( $gmt ) ? time() : time() + ( get_option( 'gmt_offset' ) * 3600 ); 68 68 break; 69 case 'timestampgmt': 70 return ( $gmt ) ? strtotime(gmdate("Y-m-d H:i:s")) : strtotime(gmdate("Y-m-d H:i:s")) + ( get_option( 'gmt_offset' ) * 3600 ); 71 break; 69 72 } 70 73 } 71 74
