Skip to content

Commit

Permalink
Excluded VIP sniff for get_pages(), specific to their caching setup. (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Rarst committed May 3, 2016
1 parent ea0a13d commit f568cc6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Yoast/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
<exclude name="WordPress.VIP.RestrictedFunctions.get_term_link"/>
<exclude name="WordPress.VIP.RestrictedFunctions.get_term_by"/>
<exclude name="WordPress.VIP.RestrictedFunctions.count_user_posts"/>
<exclude name="WordPress.VIP.RestrictedFunctions.get_pages"/>
<exclude name="WordPress.VIP.RestrictedVariables.cache_constraints"/>
<exclude name="WordPress.VIP.PostsPerPage.posts_per_page"/>

Expand Down

0 comments on commit f568cc6

Please sign in to comment.