Skip to content

Commit

Permalink
Fix WordPressVIPMinimum ruleset test cases for site_option grouping i…
Browse files Browse the repository at this point in the history
…n RestrictedFunctionsSniff
  • Loading branch information
rebeccahum committed Mar 26, 2021
1 parent 1382862 commit b7bf01e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
6 changes: 3 additions & 3 deletions WordPressVIPMinimum/ruleset-test.inc
Original file line number Diff line number Diff line change
Expand Up @@ -390,9 +390,9 @@ chown(); // Error.
chmod(); // Error.
lchgrp(); // Error.
lchown(); // Error.
add_site_option( 'foo', $bar ); // Error.
update_site_option( $bar, $foo, true ); // Error.
delete_site_option( $foo ); // Error.



wp_mail(); // Warning.
mail(); // Warning.
is_multi_author(); // Warning.
Expand Down
3 changes: 0 additions & 3 deletions WordPressVIPMinimum/ruleset-test.php
Original file line number Diff line number Diff line change
Expand Up @@ -161,9 +161,6 @@
390 => 1,
391 => 1,
392 => 1,
393 => 1,
394 => 1,
395 => 1,
402 => 1,
415 => 1,
425 => 1,
Expand Down

0 comments on commit b7bf01e

Please sign in to comment.