Skip to content

Commit

Permalink
Exclude get_next/previous_post replacement functions due to us not im…
Browse files Browse the repository at this point in the history
…plementing them yet (closes #18)
  • Loading branch information
Tim Malone committed Dec 11, 2017
1 parent ff40f64 commit abdd178
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@
<!-- TODO: Removed until we learn/implement the potential replacement functions. -->
<exclude name="WordPress.VIP.RestrictedFunctions.file_get_contents"/>
<exclude name="WordPress.VIP.RestrictedFunctions.file_get_contents_file_get_contents"/>
<exclude name="WordPress.VIP.RestrictedFunctions.get_adjacent_post_get_next_post"/>
<exclude name="WordPress.VIP.RestrictedFunctions.get_adjacent_post_get_previous_post"/>
<exclude name="WordPress.WP.AlternativeFunctions.file_get_contents"/>
<exclude name="WordPress.WP.AlternativeFunctions.file_get_contents_file_get_contents"/>
<exclude name="WordPress.WP.AlternativeFunctions.file_system_read_file_get_contents"/>
Expand Down

0 comments on commit abdd178

Please sign in to comment.