Make WordPress Core


Ignore:
Timestamp:
04/28/2009 05:58:45 AM (17 years ago)
Author:
ryan
Message:

s/attribute_escape/attr/. see #9650

File:
1 edited

Legend:

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

    r10810 r11109  
    370370                $comment_author = apply_filters('pre_comment_author_name', $_COOKIE['comment_author_'.COOKIEHASH]);
    371371                $comment_author = stripslashes($comment_author);
    372                 $comment_author = attribute_escape($comment_author);
     372                $comment_author = attr($comment_author);
    373373                $_COOKIE['comment_author_'.COOKIEHASH] = $comment_author;
    374374        }
     
    377377                $comment_author_email = apply_filters('pre_comment_author_email', $_COOKIE['comment_author_email_'.COOKIEHASH]);
    378378                $comment_author_email = stripslashes($comment_author_email);
    379                 $comment_author_email = attribute_escape($comment_author_email);
     379                $comment_author_email = attr($comment_author_email);
    380380                $_COOKIE['comment_author_email_'.COOKIEHASH] = $comment_author_email;
    381381        }
Note: See TracChangeset for help on using the changeset viewer.