Skip to content

Commit b7bf01e

Browse files
committed
Fix WordPressVIPMinimum ruleset test cases for site_option grouping in RestrictedFunctionsSniff
1 parent 1382862 commit b7bf01e

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

WordPressVIPMinimum/ruleset-test.inc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -390,9 +390,9 @@ chown(); // Error.
390390
chmod(); // Error.
391391
lchgrp(); // Error.
392392
lchown(); // Error.
393-
add_site_option( 'foo', $bar ); // Error.
394-
update_site_option( $bar, $foo, true ); // Error.
395-
delete_site_option( $foo ); // Error.
393+
394+
395+
396396
wp_mail(); // Warning.
397397
mail(); // Warning.
398398
is_multi_author(); // Warning.

WordPressVIPMinimum/ruleset-test.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -161,9 +161,6 @@
161161
390 => 1,
162162
391 => 1,
163163
392 => 1,
164-
393 => 1,
165-
394 => 1,
166-
395 => 1,
167164
402 => 1,
168165
415 => 1,
169166
425 => 1,

0 commit comments

Comments
 (0)