diff --git a/src/wp-includes/functions.php b/src/wp-includes/functions.php index 620ff23ed7..5d1f52e762 100644 --- a/src/wp-includes/functions.php +++ b/src/wp-includes/functions.php @@ -72,7 +72,7 @@ function mysql2date( $format, $date, $translate = true ) { function current_time( $type, $gmt = 0 ) { // Don't use non-GMT timestamp, unless you know the difference and really need to. if ( 'timestamp' === $type || 'U' === $type ) { - return $gmt ? time() : time() + (int) ( get_option( 'gmt_offset' ) * HOUR_IN_SECONDS ); + return $gmt ? time() : time() + ( (int) get_option( 'gmt_offset' ) * HOUR_IN_SECONDS ); } if ( 'mysql' === $type ) {