WordPress.org

Ready to get started?Download WordPress

Forums

Backslashes next to apostrophes and quotation marks. (6 posts)

  1. msadventures
    Member
    Posted 8 years ago #

    Hi all.
    Have installed WP 1.5.2 on another site of mine and am coming across a problem that didn't happen on my first WP-based site. My apostrophes and quotation marks are showing up with backslashes in front of them once I publish a page or post.

    Examples: It's becomes It\'s

    A link goes from this: a href= "http://example.com"
    to \"http://example.com\" ...and doesn't lead to the intended destination as a result.

    I did a search and pulled up this post but didn't find a resolution posted. Can someone help please?

    Thanks. :)

  2. Kahil
    Member
    Posted 8 years ago #

    all of a sudden, without any changes, I am getting this too...

    editing the comment/post does not help neither...

    example...

    \"something\"

  3. Michael Bishop

    Posted 8 years ago #

    Let me guess, you are running 2.0.3?

    http://txfx.net/code/wordpress/wordpress-203-tuneup/

  4. Kahil
    Member
    Posted 8 years ago #

    yup!!

    i went to that site, but it didn't say anything about fixing the backslash problem...just those annoying "are you sure" things...

  5. Kahil
    Member
    Posted 8 years ago #

    OK... Now it is ok when I actually go into the database itself and change it and it works fine...

    I also get this message... I'm not sure what it means exactly, but I think it is telling me that if I want to put in quote marks I'll have to place a backslash in front of it? now that is real annoying. I don't understand why all of a sudden it is doing this today...no changes were made whatsoever...it just happened on a new comment i just recieved a lil bit ago...

    1 If field type is "enum" or "set", please enter the values using this format: 'a','b','c'...
    If you ever need to put a backslash ("\") or a single quote ("'") amongst those values, preceed it with a backslash (for example '\\xyz' or 'a\'b').

    2 For default values, please enter just a single value, without backslash escaping or quotes, using this format: a

  6. msadventures
    Member
    Posted 8 years ago #

    I had this issue on a different site, but it went away completely when I switched the site to a Linux server instead of Windows.

Topic Closed

This topic has been closed to new replies.

About this Topic