Make WordPress Core

Changeset 789


Ignore:
Timestamp:
01/24/2004 11:22:31 PM (22 years ago)
Author:
saxmatt
Message:

Fix for foreign language comments.

File:
1 edited

Legend:

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

    r780 r789  
    16461646    $author = stripslashes(stripslashes($comment->comment_author));
    16471647    $author = apply_filters('comment_auther', $author);
     1648    $author = convert_chars($author);
    16481649    if (!empty($author)) {
    1649         echo htmlspecialchars($comment->comment_author);
     1650        echo $comment->comment_author;
    16501651    }
    16511652    else {
     
    16651666    $url = trim(stripslashes($comment->comment_author_url));
    16661667    $email = stripslashes($comment->comment_author_email);
    1667     $author = htmlspecialchars(stripslashes($comment->comment_author));
     1668    $author = stripslashes($comment->comment_author);
     1669    $author = convert_chars($author);
     1670    $author = wptexturize($author);
    16681671    if (empty($author)) {
    16691672        $author = "Anonymous";
Note: See TracChangeset for help on using the changeset viewer.