summaryrefslogtreecommitdiffstats
path: root/wp-comments-post.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2007-02-26 14:03:58 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2007-02-26 14:03:58 +0000
commitce8693de30e8da06a8a4982e321f0a33fbeee979 (patch)
treec80ea3a19e84d0da5a48815fe4457e46f784e193 /wp-comments-post.php
parent132f53ddaeb250222a4ac85ebc0bf4dd780db60e (diff)
downloadwordpress-mu-ce8693de30e8da06a8a4982e321f0a33fbeee979.tar.gz
wordpress-mu-ce8693de30e8da06a8a4982e321f0a33fbeee979.tar.xz
wordpress-mu-ce8693de30e8da06a8a4982e321f0a33fbeee979.zip
WP Merge to rev 4950
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@900 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-comments-post.php')
-rw-r--r--wp-comments-post.php2
1 files changed, 1 insertions, 1 deletions
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']);