I’m saving the body of an email into a database cell. Escaping everything using wp_kses_post() as suggested when using wp_editor() to escape everything html related and what not when storing the content in the DB.

My question may or may not have to do with wp_kses_post(). The problem is, when I retrieved the contents into an email, anything I put in the email that had quotes came out with a slash… So

I’m

becomes

I’m

etc…

Am I missing on something simple when retrieving the content from the Database cell?

Read more here: Storing and Retrieving email body from a Database


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.


Wordpress related questions and answers: