Make WordPress Core


Ignore:
Timestamp:
06/11/2004 08:02:40 AM (20 years ago)
Author:
rboren
Message:

Get our slashes straight.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-comments-post.php

    r1355 r1405  
    8787do_action('comment_post', $comment_ID);
    8888
    89 setcookie('comment_author_' . $cookiehash, $author, time() + 30000000, COOKIEPATH);
    90 setcookie('comment_author_email_' . $cookiehash, $email, time() + 30000000, COOKIEPATH);
    91 setcookie('comment_author_url_' . $cookiehash, $url, time() + 30000000, COOKIEPATH);
     89setcookie('comment_author_' . $cookiehash, stripslashes($author), time() + 30000000, COOKIEPATH);
     90setcookie('comment_author_email_' . $cookiehash, stripslashes($email), time() + 30000000, COOKIEPATH);
     91setcookie('comment_author_url_' . $cookiehash, stripslashes($url), time() + 30000000, COOKIEPATH);
    9292
    9393header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
Note: See TracChangeset for help on using the changeset viewer.