Magic Backslashes Appearing from Nowhere.
-
I don’t know what is causing this, but every single post on my site now has backslashes riddled in each link in all the post’s code.
For instance, what should be a normal video embed code:
<iframe width="695" height="391" src="https://www.youtube.com/embed/KKXewWDh1og" frameborder="0" allowfullscreen></iframe>
Now suddenly appears like this, effectively breaking everything:
<iframe width=\"695\" height=\"391\" src=\"https://www.youtube.com/embed/KKXewWDh1og\" frameborder=\"0\" allowfullscreen></iframe>
I have done research and tried stripping the slashes as per a few recommendations, as well as modifying wp-settings.php… both to no avail. I don’t understand why this happened now, seemingly out of the blue. I don’t have access to php.ini to know if it is because of magic quotes, and I can’t fully tell if that issue only applies to apostrophes or not. Regardless, I have never seen these slashes appear in the posts prior to this.
I can go through and remove the backslashes by hand, and it fixes the post, but I would rather not do that to 500+ posts. There has to be a workaround/fix because this has never been an issue until now. You can see an example of a post that I fixed (2nd down) manually, versus the rest on the page: https://www.andysapp.com/
Any help would be greatly appreciated! As it stands now, my site looks massively broken. Every post is affected.
- The topic ‘Magic Backslashes Appearing from Nowhere.’ is closed to new replies.