2013-01-23, 21:48:46
(2013-01-23, 21:13:12)jason.dixon.email Wrote: Hmm yeah that is strange. I wonder why the plugin wants to clear all $_POST data. I can't really see a need for it.
It doesn't clear the post data, but strips the slashes if magic quotes is on. But it does so in a strange way - I don't think that the parameters are escaped!?
But code like this does make sense, if you don't want to deal with slashes/magic quotes in your main code - I'm using something like this in some of my plugins (but only in the backend, where I'm sure that all parameters are for my plugin).