git-svn-id: http://svn.automattic.com/wordpress/trunk@2490 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2005-03-29 14:52:41 +00:00
parent 19c83838cf
commit ea350cb922
1 changed files with 4 additions and 4 deletions

View File

@ -13,10 +13,10 @@ if ( empty($post_status) ) {
die( __('Sorry, comments are closed for this item.') ); die( __('Sorry, comments are closed for this item.') );
} }
$comment_author = $_POST['author']; $comment_author = trim($_POST['author']);
$comment_author_email = $_POST['email']; $comment_author_email = trim($_POST['email']);
$comment_author_url = $_POST['url']; $comment_author_url = trim($_POST['url']);
$comment_content = $_POST['comment']; $comment_content = trim($_POST['comment']);
// If the user is logged in // If the user is logged in
get_currentuserinfo(); get_currentuserinfo();