diff --git a/vip-scanner/checks/VIPRestrictedCommandsCheck.php b/vip-scanner/checks/VIPRestrictedCommandsCheck.php index abc0839..595bc6a 100644 --- a/vip-scanner/checks/VIPRestrictedCommandsCheck.php +++ b/vip-scanner/checks/VIPRestrictedCommandsCheck.php @@ -6,6 +6,9 @@ function check( $files ) { $result = true; $checks = array( + // WordPress Classes + "WP_User_Query" => array( 'level' => "Note", "note" => "Use of WP_User_Query" ), + // wordpress functions "remove_filter" => array( "level" => "Note", "note" => "Removing filters" ), "remove_action" => array( "level" => "Note", "note" => "Removing actions" ),