Skip to content

Commit

Permalink
Merge pull request #217 from WPTRT/feature/add-deprecated-parameter-v…
Browse files Browse the repository at this point in the history
…alues-sniff

Add deprecated parameter values rule in the ruleset
  • Loading branch information
jrfnl authored May 20, 2019
2 parents 2ed0efc + d13f2c4 commit 16ea2ad
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions WPThemeReview/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,9 @@
<type>error</type>
</rule>

<!-- Check for usage of deprecated parameter values in WP functions and provide alternative based on the parameter passed. -->
<rule ref="WordPress.WP.DeprecatedParameterValues"/>

<!-- Verify that everything in the global namespace is prefixed. -->
<!-- Covers: https://make.wordpress.org/themes/handbook/review/required/#code - last bullet. -->
<!-- NOTE: this sniff needs a custom property to be set for it to be activated. -->
Expand Down

0 comments on commit 16ea2ad

Please sign in to comment.