Prevent WP adding slashes to POST
-
I have a form in the admin area for my plugin, and when a value is submitted that contains single quotes, double quotes, or slashes, wordpress adds slashes to escape them in the POST.
e.g.
“Visitor\Country”
becomes
\”Visitor\\Country\”How do I stop the slashes from being added?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Prevent WP adding slashes to POST’ is closed to new replies.