Skip to content

Commit

Permalink
sanitize_text_field() isn't necessary here... we should be passing sa…
Browse files Browse the repository at this point in the history
…fe data to begin with
  • Loading branch information
danielbachhuber committed Jan 19, 2012
1 parent 6677925 commit b889a23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ad-code-manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ function get_ad_codes( $query_args = array() ) {
if ( ! in_array( $query_key, $allowed_query_params ) ) {
unset( $query_args[$query_key] );
} else {
$args[$query_key] = sanitize_text_field( $query_value );
$args[$query_key] = $query_value;
}
}

Expand Down

0 comments on commit b889a23

Please sign in to comment.