remove phpcs ignore

This commit is contained in:
Paul Sealock 2019-02-22 12:24:31 +13:00
parent 158cf33ded
commit 24c324ae4a
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ class WC_Tracks_Client {
}
// Start with a previously set cookie.
$anon_id = isset( $_COOKIE['tk_ai'] ) ? sanitize_text_field( wp_unslash( $_COOKIE['tk_ai'] ) ) : false; // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized
$anon_id = isset( $_COOKIE['tk_ai'] ) ? sanitize_text_field( wp_unslash( $_COOKIE['tk_ai'] ) ) : false;
// If there is no cookie, apply a saved id.
if ( ! $anon_id ) {