WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] backslashes in comments (4 posts)

  1. TomJohnson
    Member
    Posted 7 years ago #

    My comments have backslashes before the quotation marks, like this: \”bored\”

    I tried searching for a solution, but I couldn't quite follow the one I found. http://wordpress.org/support/topic/5889?replies=28 said to use this

    add_filter('comment_text', 'stripslashes');

    and to paste it in the vars.php or somewhere else. But when I pasted it in the vars.php, it messed up my site. Can someone tell me very specifically where I should put that tag?

  2. Chris_K
    Member
    Posted 7 years ago #

    What version of WordPress are you running? If 2.0.3, upgrade to 2.0.4 for an easy fix.

  3. TomJohnson
    Member
    Posted 7 years ago #

    I just did upgrade to 2.04 trying to fix it. But the slashes persist. Maybe it's the outdated beeblebrox theme i'm using.

  4. TomJohnson
    Member
    Posted 7 years ago #

    When I switched themes, I no longer experienced this.

Topic Closed

This topic has been closed to new replies.

About this Topic