mirror of
https://github.com/WordPress/WordPress.git
synced 2025-03-09 07:00:01 +00:00
sanitize_comment_cookie() handles the attribute escaping, so remove the extra escaping and leave the phpdoc.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11723 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
1466e9954b
commit
3e73668bca
@ -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
|
* The name of the current comment author escaped for use in attributes. Use
|
||||||
* wp_get_current_commenter() to get the raw value.
|
* 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
|
* The email address of the current comment author escaped for use in attributes. Use
|
||||||
* wp_get_current_commenter() to get the raw value.
|
* 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
|
* The url of the current comment author escaped for use in attributes. Use
|
||||||
* wp_get_current_commenter() to get the raw value.
|
* 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. */
|
/** @todo Use API instead of SELECTs. */
|
||||||
if ( $user_ID) {
|
if ( $user_ID) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user