diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 16032f465a..61395c987f 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -69,7 +69,7 @@ function current_time( $type, $gmt = 0 ) { case 'timestamp': return ( $gmt ) ? time() : time() + ( get_option( 'gmt_offset' ) * HOUR_IN_SECONDS ); default: - return ( $gmt ) ? date( $type ) : date( $type, time() + ( get_option( 'gmt_offset' ) * HOUR_IN_SECONDS ) ); + return ( $gmt ) ? gmdate( $type ) : gmdate( $type, time() + ( get_option( 'gmt_offset' ) * HOUR_IN_SECONDS ) ); } } diff --git a/wp-includes/version.php b/wp-includes/version.php index 292b5b76ed..ada8f4150a 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '5.0-alpha-43593'; +$wp_version = '5.0-alpha-43594'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.