Make WordPress Core

Changeset 4939


Ignore:
Timestamp:
02/25/2007 01:35:16 PM (18 years ago)
Author:
markjaquith
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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']);
Note: See TracChangeset for help on using the changeset viewer.