Make WordPress Core

Ticket #5829: 5829.diff

File 5829.diff, 621 bytes (added by henrikmelin, 16 years ago)

Patch for 5829

  • wp-admin/includes/template.php

     
    610610}
    611611if ( !is_single() ) {
    612612        $post = get_post($comment->comment_post_ID, OBJECT, 'display');
    613         $post_title = wp_specialchars( $post->post_title, 'double' );
     613        $post_title = get_the_title($post->ID);
    614614        $post_title = ('' == $post_title) ? "# $comment->comment_post_ID" : $post_title;
    615615?>
    616616 ] &#8212; <a href="<?php echo get_permalink($comment->comment_post_ID); ?>"><?php echo $post_title; ?></a>