Support » Fixing WordPress » Apostrophe’s in comments and 1.2

Viewing 6 replies - 1 through 6 (of 6 total)
  • add_filter('comment_text', 'stripslashes');

    wp-comments is where i put the following.
    <?php add_filter('comment_text', 'stripslashes'); ?>

    Where did my second message go in this thread?
    Anyway, thanks, Charle97, I’ll do that. For some reason, I thought the add_filter functions could only be used in plugins.

    i think matt was doing something to the db and killed a few of the more recent posts.

    when i put that code in place of comment_text my comments disappeared completely… where in wp-comments should i put it ? (sorry am stupid)

    WebSlog

    (@webslog)

    Schweet! It works poifect.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Apostrophe’s in comments and 1.2’ is closed to new replies.