Skip to content

Commit

Permalink
remove debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
snrbrnjna committed Feb 25, 2023
1 parent 873412c commit 6f0ac1a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions gigpress.php
Original file line number Diff line number Diff line change
Expand Up @@ -406,8 +406,6 @@ function gigpress_prepare( $show, $scope = 'public' ) {

function gigpress_sanitize_sort($sort_value, $default = false, $safe_values = array('asc', 'desc')) {
if (!in_array($sort_value, $safe_values, true)) {
// DEBUG
debug_log('hui, seems, to have an SQL injection attempt here? "'. $sort_value . '"');
return $default;
}
return $sort_value;
Expand Down

0 comments on commit 6f0ac1a

Please sign in to comment.