Although magic_quotes are turned off still escaped strings?

Posted by Editorial Staff | Updated on

Although magic_quotes are turned off still escaped strings? I actually already figured this out, just want to leave my solution here in case other people might find it useful:

WordPress automatically escapes all request variables. If magic quotes are turned off, they strip the slashes first, but add them again afterwards.

wp-settings.php code piece:


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers