From ce8693de30e8da06a8a4982e321f0a33fbeee979 Mon Sep 17 00:00:00 2001 From: donncha Date: Mon, 26 Feb 2007 14:03:58 +0000 Subject: WP Merge to rev 4950 git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@900 7be80a69-a1ef-0310-a953-fb0f7c49ff36 --- wp-comments-post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wp-comments-post.php') diff --git a/wp-comments-post.php b/wp-comments-post.php index 155a77b..26b476b 100644 --- a/wp-comments-post.php +++ b/wp-comments-post.php @@ -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']); -- cgit