Skip to content

Commit fabb264

Browse files
authored
exclude linting warning for $_SERVER['HTTP_USER_AGENT'] (#6)
1 parent dbaf18c commit fabb264

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Pantheon-WP/ruleset.xml

+1
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
<rule ref="WordPressVIPMinimum">
4848
<exclude name="WordPressVIPMinimum.Functions.RestrictedFunctions.wp_remote_get_wp_remote_get" />
4949
<exclude name="WordPressVIPMinimum.Files.IncludingFile.UsingVariable" />
50+
<exclude name="WordPressVIPMinimum.Variables.RestrictedVariables.cache_constraints___SERVER__HTTP_USER_AGENT__" />
5051
</rule>
5152

5253
<!-- Rule exclusions -->

0 commit comments

Comments
 (0)