diff --git a/WordPress-VIP-Go/ruleset-test.inc b/WordPress-VIP-Go/ruleset-test.inc index 4706542e..9996527f 100644 --- a/WordPress-VIP-Go/ruleset-test.inc +++ b/WordPress-VIP-Go/ruleset-test.inc @@ -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; diff --git a/WordPress-VIP-Go/ruleset.xml b/WordPress-VIP-Go/ruleset.xml index 240994bf..3ce4a280 100644 --- a/WordPress-VIP-Go/ruleset.xml +++ b/WordPress-VIP-Go/ruleset.xml @@ -129,11 +129,6 @@ - - - warning - 10 - warning