Extraneous backslashes

Okay, this putting-a-backslash-in-front-of-every-apostrophe in the comments has gone too far. It has now messed up someone’s <code>...</code> snippets, and so it is time to fix the problem once and for all.

Wish me (with my complete and utter lack of PHP knowledge) luck.

5 Responses to “Extraneous backslashes”

  1. JohnO says:

    Why are you putting a backslash there? So it get’s in the database w/o breaking it?

    If that is the reason.. use addslashes and removeslashes functions..

  2. dolphinling says:

    I have no idea why the backslash is there. I think it’s likely some incompatibility between the commment validation/preveiw plugin I use and a newer version of wordpress than it was intended for, or something like that.

  3. dolphinling says:

    All right, I tried getting the latest versions of things… doesn’t look like there was much change, though. This is a test: It’s \.

  4. dolphinling says:

    Here’s another test. I think this one might actually have worked.

    Yay, it did! Go me!

  5. A. Nomynous says:

    Yay! :-)