Open
Description
openedon Dec 1, 2021
e.g. when resetting/increasing lifetime of a cookie
setcookie( $cookie, $_COOKIE[ $cookie ], time() + 86400, '/' )
setcookie( 'hello', $_COOKIE[ $cookie ], time() + 86400, '/' )
currently gives an error for WordPress.Security.ValidatedSanitizedInput
EDIT: use case: safari ITP HTTP cookie handling for JS cookies.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment