Make WordPress Core


Ignore:
Timestamp:
07/20/2009 01:22:25 AM (16 years ago)
Author:
ryan
Message:

sanitize_comment_cookie() handles the attribute escaping, so remove the extra escaping and leave the phpdoc.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/comment-template.php

    r11722 r11723  
    831831     * wp_get_current_commenter() to get the raw value.
    832832     */
    833     $comment_author = esc_attr($commenter['comment_author']);
     833    $comment_author = $commenter['comment_author'];
    834834
    835835    /**
     
    837837     * wp_get_current_commenter() to get the raw value.
    838838     */
    839     $comment_author_email = esc_attr($commenter['comment_author_email']);
     839    $comment_author_email = $commenter['comment_author_email'];
    840840
    841841    /**
     
    843843     * wp_get_current_commenter() to get the raw value.
    844844     */
    845     $comment_author_url = esc_url($commenter['comment_author_url']);
     845    $comment_author_url = $commenter['comment_author_url'];
    846846
    847847    /** @todo Use API instead of SELECTs. */
Note: See TracChangeset for help on using the changeset viewer.