Changeset 11724
- Timestamp:
- 07/20/2009 01:41:05 AM (16 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/comment-template.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/comment-template.php
r11723 r11724 821 821 822 822 /** 823 * Raw comment author information fetched from the comment cookies.823 * Comment author information fetched from the comment cookies. 824 824 * 825 825 * @uses wp_get_current_commenter() … … 828 828 829 829 /** 830 * The name of the current comment author escaped for use in attributes. Use 831 * wp_get_current_commenter() to get the raw value. 830 * The name of the current comment author escaped for use in attributes. 832 831 */ 833 $comment_author = $commenter['comment_author']; 832 $comment_author = $commenter['comment_author']; // Escaped by sanitize_comment_cookies() 834 833 835 834 /** 836 * The email address of the current comment author escaped for use in attributes. Use 837 * wp_get_current_commenter() to get the raw value. 835 * The email address of the current comment author escaped for use in attributes. 838 836 */ 839 $comment_author_email = $commenter['comment_author_email']; 837 $comment_author_email = $commenter['comment_author_email']; // Escaped by sanitize_comment_cookies() 840 838 841 839 /** 842 * The url of the current comment author escaped for use in attributes. Use 843 * wp_get_current_commenter() to get the raw value. 840 * The url of the current comment author escaped for use in attributes. 844 841 */ 845 $comment_author_url = $commenter['comment_author_url'];842 $comment_author_url = esc_url($commenter['comment_author_url']); 846 843 847 844 /** @todo Use API instead of SELECTs. */
Note: See TracChangeset
for help on using the changeset viewer.