Escaping slashes twice error
-
Hi,
I am getting a SQL error when the post title have quotes like “Bruno’s Beach House”.
In the file WP_ES.php line 138: $term = esc_sql($term) adds a backslash before the quote. Then on the line 142: $term = $wpdb->esc_like( $term ) adds another backslash to escape the other backslash.Thank you for the plugin!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Escaping slashes twice error’ is closed to new replies.