Skip to content

Commit

Permalink
Merge pull request Automattic#84 from hibernation/issue-22
Browse files Browse the repository at this point in the history
Flag uses of WP_User_Query on VIP sites
  • Loading branch information
nickdaugherty committed Mar 13, 2014
2 parents 9ed5d16 + ef02d19 commit b500ed5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions vip-scanner/checks/VIPRestrictedCommandsCheck.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ function check( $files ) {
$result = true;

$checks = array(
// WordPress Classes
"WP_User_Query" => array( 'level' => "Note", "note" => "Use of WP_User_Query" ),

// wordpress functions
"remove_filter" => array( "level" => "Note", "note" => "Removing filters" ),
"remove_action" => array( "level" => "Note", "note" => "Removing actions" ),
Expand Down

0 comments on commit b500ed5

Please sign in to comment.