Support

Content of the article

You need to log-in to create request (topic) to the support

Cannot filter for term containing single quote character

(new from 01-07-2019)

Hello,

 

WOOF is not allowing me to filter for terms containing  the single-quote character.  For example:   O'Keefe

However, I can filter successfully on the term: Keefe

Is there a way to fix this?

 

Hello

Please drop me  exact  link  to the  issue

Paste wp-admin access - https://c2n.me/42BAoj4.png

describe what I have to do to get this error

I have added the exact link and instructions for reproducing the error into the private data for this topic.

Please advise - thank you.

Hello

Ok! I got it

Please  drop me  wp-admin + FTP access  I will fix  it

Hello - I have added wp-admin and FTP access info to the private data for this topic.  Please advise - thank you.

Hello

Try in file - \plugins\woocommerce-products-filter\ext\meta_filter\html_types\textinput\index.php  add code  - https://c2n.me/42SN1z1.png

$curr_text=wp_specialchars_decode(trim(urldecode($curr_text)));
$curr_text =str_replace("'", "'", $curr_text);

I have applied this fix, and the search still does not work for products the single-quote character.

 

Hello

My test - https://c2n.me/43eub8v