WordPress adding slashes? (2 posts)

  1. jasondrey13
    Posted 4 years ago #

    I'm having trouble with slashing being added to all of my POST variables, but magic_quotes are off in phpinfo() and get_magic_quotes_gpc() returns false. If I simply output the variables, the slashes are already there, so it has to be happening before my code.

    Is there any way WordPress could be adding the slashes?

    I am not able to reproduce it on my localhost to debug, so it seems like something happening at my shared web host (from which I cannot move :P)


  2. binaryboy
    Posted 4 years ago #

    WordPress adds slashes even if magic quotes are off. And yes, it's annoying and stupid. There's a similar question here.

Topic Closed

This topic has been closed to new replies.

About this Topic