diff --git a/WordPress/Sniffs/Security/ValidatedSanitizedInputSniff.php b/WordPress/Sniffs/Security/ValidatedSanitizedInputSniff.php index d3b7fe02f8..45ea8ce896 100644 --- a/WordPress/Sniffs/Security/ValidatedSanitizedInputSniff.php +++ b/WordPress/Sniffs/Security/ValidatedSanitizedInputSniff.php @@ -175,7 +175,7 @@ static function ( $var_name ) { if ( false === $validated ) { $this->phpcsFile->addError( - 'Detected usage of a possibly undefined superglobal array index: %s. Use isset() or empty() to check the index exists before using it', + 'Detected usage of a possibly undefined superglobal array index: %s. Check that the array index exists before using it.', $stackPtr, 'InputNotValidated', $error_data