update_uption – single quote backslash added
-
in a plugin I am saving text input fields (textarea) with a update_option function.
If a single quotes is in the text it gets an backslash in front. I am saving the text with htmlentities($text, ENT_QUOTES)m but still it gets always an backslash added. So the string becomes with each save longer.
Any idea, why?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘update_uption – single quote backslash added’ is closed to new replies.