• I recently upgraded from 1.0.2 to 1.2. It’s great. I really like 1.2.
    Today, however, I noticed a somewhat weird problem with some of the old comments that were filed back in 1.0.2 days. When those comments were originally filed, they looked fine. After the 1.2 upgrade, though, there is a problem. Here are a few samples:
    Don/’t look now,
    it/’s
    weren/’t
    In “edit comment” I don’t notice the slash.
    I tried switching from 8859-1 encoding to UTF-1, but to no avail.
    When new comments are made in 1.2, and apostrophes and quotation marks are used, slashes do not appear.
    Maybe in 1.0.2, some odd characters were inserted? Aside from manually editing all instances of this problem, is there a way of cleaning this up?
    Thanks for any ideas.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Download ‘vars.php’
    Add this line at the end of the filter list:
    add_filter('comment_text', 'stripslashes');

    Thread Starter awh

    (@awh)

    Yes! That did it!
    I added that line to the vars.php in wp-includes, and it is looking great now.
    Thank you, podz. Much appreciated.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘slashes instead of apostrophes’ is closed to new replies.