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:
parent
617265d39e
commit
fc37d64a90
@ -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">
|
||||
|
Loading…
Reference in New Issue
Block a user