Skip to content

Commit

Permalink
exclude linting warning for $_SERVER['HTTP_USER_AGENT'] (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
jazzsequence authored Jun 7, 2024
1 parent dbaf18c commit fabb264
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Pantheon-WP/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
<rule ref="WordPressVIPMinimum">
<exclude name="WordPressVIPMinimum.Functions.RestrictedFunctions.wp_remote_get_wp_remote_get" />
<exclude name="WordPressVIPMinimum.Files.IncludingFile.UsingVariable" />
<exclude name="WordPressVIPMinimum.Variables.RestrictedVariables.cache_constraints___SERVER__HTTP_USER_AGENT__" />
</rule>

<!-- Rule exclusions -->
Expand Down

0 comments on commit fabb264

Please sign in to comment.