2012-11-16, 23:10:26
(2012-11-16, 22:44:50)uitdecom Wrote: changedata.php printed this:
{\"Main\":\"<p>\\n\\tmain tab content</p>\\n\"}
I think that is a php setting called Magic Quotes. I'm surprised that code above didn't fix it though. Hmm...
If you swap that code just pasted with:
Code:
$_POST['old-page-content'] = stripslashes($_POST["old-page-content"]
That might work as a bandaid fix.
If you put this code in though, what do you get when you save page?
Code:
if (get_magic_quotes_gpc()){echo 'Magic Quotes is active.';}else{echo 'I\'m stumped! :P'; } exit();