Title: backslashes in comments
Last modified: August 18, 2016

---

# backslashes in comments

 *  Resolved [TomJohnson](https://wordpress.org/support/users/tomjohnson/)
 * (@tomjohnson)
 * [19 years, 10 months ago](https://wordpress.org/support/topic/backslashes-in-comments/)
 * 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](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?

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Chris_K](https://wordpress.org/support/users/handysolo/)
 * (@handysolo)
 * [19 years, 10 months ago](https://wordpress.org/support/topic/backslashes-in-comments/#post-435788)
 * What version of WordPress are you running? If 2.0.3, upgrade to 2.0.4 for an 
   easy fix.
 *  Thread Starter [TomJohnson](https://wordpress.org/support/users/tomjohnson/)
 * (@tomjohnson)
 * [19 years, 10 months ago](https://wordpress.org/support/topic/backslashes-in-comments/#post-435789)
 * 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.
 *  Thread Starter [TomJohnson](https://wordpress.org/support/users/tomjohnson/)
 * (@tomjohnson)
 * [19 years, 8 months ago](https://wordpress.org/support/topic/backslashes-in-comments/#post-436389)
 * When I switched themes, I no longer experienced this.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘backslashes in comments’ is closed to new replies.

## Tags

 * [back](https://wordpress.org/support/topic-tag/back/)
 * [backslashes](https://wordpress.org/support/topic-tag/backslashes/)
 * [formatting](https://wordpress.org/support/topic-tag/formatting/)
 * [slashes](https://wordpress.org/support/topic-tag/slashes/)
 * [stripslashes](https://wordpress.org/support/topic-tag/stripslashes/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [TomJohnson](https://wordpress.org/support/users/tomjohnson/)
 * Last activity: [19 years, 8 months ago](https://wordpress.org/support/topic/backslashes-in-comments/#post-436389)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
