Plugin flags warnings on WPVIP
Closed this issue · 1 comments
When installed on WPVIP, the VIP Code Analysis Bot flags the following warnings:
plugins/maintenance-mode-wp-main/vipgo-helper.php
- line 14
⚠️ Warning( severity 10 ): Detected usage of a non-sanitized input variable: $_SERVER['HTTP_USER_AGENT'] (WordPress.Security.ValidatedSanitizedInput.InputNotSanitized).
plugins/maintenance-mode-wp-main/wpcom-helper.php
- line 14
⚠️ Warning( severity 10 ): Detected usage of a non-sanitized input variable: $_SERVER['HTTP_USER_AGENT'] (WordPress.Security.ValidatedSanitizedInput.InputNotSanitized).`
plugins/maintenance-mode-wp-main/tests/bootstrap.php
- line 8
⚠️ Warning( severity 3 ): File inclusion using variable ($_tests_dir). Probably needs manual inspection (WordPressVIPMinimum.Files.IncludingFile.UsingVariable).
plugins/maintenance-mode-wp-main/tests/bootstrap.php
- line 15
⚠️ Warning( severity 3 ): File inclusion using variable ($_tests_dir). Probably needs manual inspection (WordPressVIPMinimum.Files.IncludingFile.UsingVariable).
Given the plugin is recommended as part of a multisite launch in VIP's documentation, this should likely be fixed.