Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion WordPress-VIP-Go/ruleset-test.inc
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ $external_resource = file_get_contents( $test ); // Warning + Message.
$file_content = file_get_contents( 'my-file.svg' ); // Ok.
wpcom_vip_file_get_contents( $bar ); // Ok.

// WordPress.Security.NonceVerification.NoNonceVerification
// WordPress.Security.NonceVerification (inherited from parent)
function bar_foo() {
if ( ! isset( $_POST['test'] ) ) { // Error.
return;
Expand Down
5 changes: 0 additions & 5 deletions WordPress-VIP-Go/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -129,11 +129,6 @@


<!-- Warnings and other things -->
<rule ref="WordPress.Security.NonceVerification.NoNonceVerification">
<!-- Needs a manual check -->
<type>warning</type>
<severity>10</severity>
</rule>
<rule ref="WordPress.Security.ValidatedSanitizedInput.InputNotSanitized">
<!-- Needs a manual check -->
<type>warning</type>
Expand Down