Skip to content

Commit

Permalink
Added exception for extract()
Browse files Browse the repository at this point in the history
The extract() function is used by the Color Posts plugin.
  • Loading branch information
peiche committed Aug 13, 2016
1 parent d76c8e4 commit 68178f0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions codesniffer.ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
<exclude name="WordPress.Variables.GlobalVariables" />

<exclude name="WordPress.VIP.RestrictedFunctions.get_tag_link" /> <!-- why is get_tag_link prohibited? -->

<exclude name="WordPress.Functions.DontExtract.extract" /> <!-- extract is needed for Color Posts plugin -->
</rule>

<rule ref="WordPress-VIP">
Expand Down

0 comments on commit 68178f0

Please sign in to comment.