diff --git a/src/wp-includes/functions.php b/src/wp-includes/functions.php
index 676ce8c..48136e2 100644
a
|
b
|
function current_time( $type, $gmt = 0 ) { |
65 | 65 | case 'timestamp': |
66 | 66 | return ( $gmt ) ? time() : time() + ( get_option( 'gmt_offset' ) * HOUR_IN_SECONDS ); |
67 | 67 | default: |
68 | | return ( $gmt ) ? date( $type ) : date( $type, time() + ( get_option( 'gmt_offset' ) * HOUR_IN_SECONDS ) ); |
| 68 | return ( $gmt ) ? gmdate( $type ) : date( $type, time() + ( get_option( 'gmt_offset' ) * HOUR_IN_SECONDS ) ); |
69 | 69 | } |
70 | 70 | } |
71 | 71 | |