Index: functions.php
===================================================================
--- functions.php	(revision 46372)
+++ functions.php	(working copy)
@@ -176,7 +176,7 @@
 	 */
 	if ( 'U' === $format ) {
 		$date = $timestamp;
-	} elseif ( $gmt && ! $timestamp_with_offset ) { // Current time in UTC.
+	} elseif ( $gmt && false === $timestamp_with_offset ) { // Current time in UTC.
 		$date = wp_date( $format, null, new DateTimeZone( 'UTC' ) );
 	} elseif ( ! $timestamp_with_offset ) { // Current time in site's timezone.
 		$date = wp_date( $format );
