Changeset 1940 for trunk/wp-includes/template-functions-comment.php
- Timestamp:
- 12/12/2004 08:41:19 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/template-functions-comment.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/template-functions-comment.php
r1860 r1940 283 283 echo 'Anonymous'; 284 284 } else { 285 echo htmlspecialchars(apply_filters('comment_author', $comment->comment_author));285 echo wp_specialchars(apply_filters('comment_author', $comment->comment_author)); 286 286 } 287 287 } … … 293 293 $comment_text = apply_filters('comment_text', $comment_text); 294 294 $comment_text = strip_tags($comment_text); 295 $comment_text = htmlspecialchars($comment_text);295 $comment_text = wp_specialchars($comment_text); 296 296 echo $comment_text; 297 297 }
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)