git-svn-id: https://develop.svn.wordpress.org/trunk@2490 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2005-03-29 14:52:41 +00:00
parent 57fe641ff1
commit c5646b894e
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.') );
}
$comment_author = $_POST['author'];
$comment_author_email = $_POST['email'];
$comment_author_url = $_POST['url'];
$comment_content = $_POST['comment'];
$comment_author = trim($_POST['author']);
$comment_author_email = trim($_POST['email']);
$comment_author_url = trim($_POST['url']);
$comment_content = trim($_POST['comment']);
// If the user is logged in
get_currentuserinfo();