esc_attr() for comment author email

git-svn-id: https://develop.svn.wordpress.org/trunk@11727 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2009-07-20 02:51:14 +00:00
parent 617265d39e
commit fc37d64a90
1 changed files with 1 additions and 0 deletions

View File

@ -13,6 +13,7 @@ $submitbutton_text = __('Edit Comment');
$toprow_title = sprintf(__('Editing Comment # %s'), $comment->comment_ID);
$form_action = 'editedcomment';
$form_extra = "' />\n<input type='hidden' name='comment_ID' value='" . esc_attr($comment->comment_ID) . "' />\n<input type='hidden' name='comment_post_ID' value='" . esc_attr($comment->comment_post_ID);
$comment->comment_author_email = esc_attr($comment->comment_author_email);
?>
<form name="post" action="comment.php" method="post" id="post">