Hi, I want to write some plugin which adds forms in administration panel and in blog posts. I'm struggling now with magic_quotes.
First I've tried to use magic_quotes_gpc as in clear PHP. But it looks like WordPress ignores this flag and always quotes submitted form contents (at least forms in posts, forms in administration panel are not quoted).
But then I uploaded my plugin to DreamHost and it acts in a different way.
What is the correct way to process submitted form contents in WordPress plugins?