diff --git a/src/wp-includes/functions.php b/src/wp-includes/functions.php index 55282b18dfc5..2b75cfea034c 100644 --- a/src/wp-includes/functions.php +++ b/src/wp-includes/functions.php @@ -167,6 +167,7 @@ function date_i18n( $format, $timestamp_with_offset = false, $gmt = false ) { // If timestamp is omitted it should be current time (summed with offset, unless `$gmt` is true). if ( ! is_numeric( $timestamp ) ) { + // phpcs:ignore WordPress.DateTime.CurrentTimeTimestamp.Requested $timestamp = current_time( 'timestamp', $gmt ); }