From f86ec815c744d5712998b2589f5e087104c6b4a4 Mon Sep 17 00:00:00 2001
From: jrfnl <jrfnl@users.noreply.github.com>
Date: Tue, 20 Jul 2021 15:38:34 +0200
Subject: [PATCH] CS: add ignore comment
---
src/wp-includes/functions.php | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/wp-includes/functions.php b/src/wp-includes/functions.php
index 55282b18df..2b75cfea03 100644
a
|
b
|
function date_i18n( $format, $timestamp_with_offset = false, $gmt = false ) { |
167 | 167 | |
168 | 168 | // If timestamp is omitted it should be current time (summed with offset, unless `$gmt` is true). |
169 | 169 | if ( ! is_numeric( $timestamp ) ) { |
| 170 | // phpcs:ignore WordPress.DateTime.CurrentTimeTimestamp.Requested |
170 | 171 | $timestamp = current_time( 'timestamp', $gmt ); |
171 | 172 | } |
172 | 173 | |