File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -47,13 +47,13 @@ touch( $file ); // Warning + Message.
47
47
unlink ( $ file ); // Warning + Message.
48
48
49
49
// WordPressVIPMinimum.Functions.RestrictedFunctions.cookies_setcookie
50
- setcookie ( 'cookie[three] ' , 'cookiethree ' ); // Error + Message .
50
+ setcookie ( 'cookie[three] ' , 'cookiethree ' ); // Error.
51
51
52
52
// WordPressVIPMinimum.Variables.RestrictedVariables.cache_constraints___COOKIE
53
- $ x = sanitize_key ( $ _COOKIE ['bar ' ] ); // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotValidated -- Error + Message .
53
+ $ x = sanitize_key ( $ _COOKIE ['bar ' ] ); // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotValidated -- Error.
54
54
55
55
// WordPressVIPMinimum.Variables.RestrictedVariables.cache_constraints___SERVER__HTTP_USER_AGENT__
56
- if ( isset ( $ _SERVER ['HTTP_USER_AGENT ' ] ) && $ _SERVER ['HTTP_USER_AGENT ' ] === 'some_value ' ) { // Error + Message .
56
+ if ( isset ( $ _SERVER ['HTTP_USER_AGENT ' ] ) && $ _SERVER ['HTTP_USER_AGENT ' ] === 'some_value ' ) { // Error.
57
57
}
58
58
59
59
// WordPress.WP.AlternativeFunctions.file_system_read_fclose
Original file line number Diff line number Diff line change @@ -399,7 +399,7 @@ is_multi_author(); // Warning.
399
399
the_sub_field ( 'field ' ); // Warning.
400
400
the_field ( 'field ' ); // Warning.
401
401
wp_remote_get ( $ url ); // Warning.
402
- setcookie ( 'cookie[three] ' , 'cookiethree ' ); // Warning .
402
+ setcookie ( 'cookie[three] ' , 'cookiethree ' ); // Error .
403
403
get_posts (); // Warning.
404
404
wp_get_recent_posts (); // Warning.
405
405
$ wp_random_testing = create_function ( '$a, $b ' , 'return ( $b / $a ); ' ); // Warning.
You can’t perform that action at this time.
0 commit comments