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

git-svn-id: https://develop.svn.wordpress.org/trunk@4939 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Mark Jaquith 2007-02-25 13:35:16 +00:00
parent a6200e3ddf
commit f8e2216f0e
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ if ( empty($status->comment_status) ) {
exit;
}
$comment_author = trim($_POST['author']);
$comment_author = trim(strip_tags($_POST['author']));
$comment_author_email = trim($_POST['email']);
$comment_author_url = trim($_POST['url']);
$comment_content = trim($_POST['comment']);