Escape search
-
Hello,
Thanks for your plugin ! I had some problems to match keywords with special characters like [ ] so I made a small modification => I’ve escaped the “keyword” before the preg_match test (line 264 of class-search-keyword-redirect.php) :
$keyword = preg_quote($keyword);
Hope you could add this to your code ??
Cheers,
Diego
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Escape search’ is closed to new replies.