Make WordPress Core

Ticket #3839: 3839.diff

File 3839.diff, 467 bytes (added by Nazgul, 18 years ago)
  • wp-comments-post.php

     
    1818        exit;
    1919}
    2020
    21 $comment_author       = trim($_POST['author']);
     21$comment_author       = trim(strip_tags($_POST['author']));
    2222$comment_author_email = trim($_POST['email']);
    2323$comment_author_url   = trim($_POST['url']);
    2424$comment_content      = trim($_POST['comment']);