Changeset 4939

Show
Ignore:
Timestamp:
02/25/07 13:35:16 (2 years ago)
Author:
markjaquith
Message:

strip tags from comment author before determining emptiness status. props Nazgul. fixes #3839

Files:

Legend:

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

    r4260 r4939  
    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']);