From cc56ac3d6ded5da1832a601ab5f3e077271f4b6f Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Mon, 20 Jul 2009 01:22:25 +0000 Subject: [PATCH] sanitize_comment_cookie() handles the attribute escaping, so remove the extra escaping and leave the phpdoc. git-svn-id: https://develop.svn.wordpress.org/trunk@11723 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/comment-template.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-includes/comment-template.php b/wp-includes/comment-template.php index 2cc31859a9..7d27c37f56 100644 --- a/wp-includes/comment-template.php +++ b/wp-includes/comment-template.php @@ -830,19 +830,19 @@ function comments_template( $file = '/comments.php', $separate_comments = false * The name of the current comment author escaped for use in attributes. Use * wp_get_current_commenter() to get the raw value. */ - $comment_author = esc_attr($commenter['comment_author']); + $comment_author = $commenter['comment_author']; /** * The email address of the current comment author escaped for use in attributes. Use * wp_get_current_commenter() to get the raw value. */ - $comment_author_email = esc_attr($commenter['comment_author_email']); + $comment_author_email = $commenter['comment_author_email']; /** * The url of the current comment author escaped for use in attributes. Use * wp_get_current_commenter() to get the raw value. */ - $comment_author_url = esc_url($commenter['comment_author_url']); + $comment_author_url = $commenter['comment_author_url']; /** @todo Use API instead of SELECTs. */ if ( $user_ID) {