Storing and Retrieving email body from a Database

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

Leave a Reply

Your email address will not be published. Required fields are marked *