Hi,
The data is stored in the database as HTML code .
So this text : employee”s
Is stored like this employee& #8217;s

The problem comes when I use the search function,because it compares this value employee”s to the database's contents,instead of comparing employee& #8217;s to the database's contents

I know that I must add htmlentities filter to the query-ed text,but I searched inside the Wordpress folder and there are too many functions and I can't figure it out where to place my filter,where to edit .

Any suggestions ?

If you know the name of the database, then you can find out about the column names. Then, doing a search, you can find the specific query that aims at that particular database.

It sounds like you are running a modified WordPress, and if it is extremely modified, I have no way of looking at an example to try to find it for you.

Best of luck!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.