Changeset 11204 for trunk/wp-includes/comment.php
- Timestamp:
- 05/05/2009 07:43:53 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/comment.php
r11190 r11204 372 372 $comment_author = apply_filters('pre_comment_author_name', $_COOKIE['comment_author_'.COOKIEHASH]); 373 373 $comment_author = stripslashes($comment_author); 374 $comment_author = attr($comment_author);374 $comment_author = esc_attr($comment_author); 375 375 $_COOKIE['comment_author_'.COOKIEHASH] = $comment_author; 376 376 } … … 379 379 $comment_author_email = apply_filters('pre_comment_author_email', $_COOKIE['comment_author_email_'.COOKIEHASH]); 380 380 $comment_author_email = stripslashes($comment_author_email); 381 $comment_author_email = attr($comment_author_email);381 $comment_author_email = esc_attr($comment_author_email); 382 382 $_COOKIE['comment_author_email_'.COOKIEHASH] = $comment_author_email; 383 383 }
Note: See TracChangeset
for help on using the changeset viewer.