Skip to content

Commit

Permalink
pods_unslash instead of wp_unslash
Browse files Browse the repository at this point in the history
  • Loading branch information
JoryHogeveen committed Oct 28, 2016
1 parent 7e8287e commit b3f87cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/data.php
Expand Up @@ -111,7 +111,7 @@ function pods_sanitize_like( $input ) {
}
else {
global $wpdb;
$input = wp_unslash( $input );
$input = pods_unslash( $input );

if ( pods_version_check( 'wp', '4.0' ) ) {
$output = pods_sanitize( $wpdb->esc_like( $input ) );
Expand Down

0 comments on commit b3f87cb

Please sign in to comment.