Make WordPress Core

Ticket #3599: wp-admin_index.php.diff

File wp-admin_index.php.diff, 892 bytes (added by jhodgdon, 19 years ago)

Patch for index.php in wp-admin, to fix #1 above

  • E:/EclipseWork/WordPressDev/wp-admin/index.php

     
    4949<?php
    5050if ( $comments ) {
    5151foreach ($comments as $comment) {
    52         echo '<li>' . sprintf(__('%1$s on %2$s'), get_comment_author_link(), '<a href="'. get_permalink($comment->comment_post_ID) . '#comment-' . $comment->comment_ID . '">' . get_the_title($comment->comment_post_ID) . '</a>');
     52        echo '<li>' . sprintf(__('%1$s on %2$s'), get_comment_author_link(), '<a href="'. get_permalink($comment->comment_post_ID) . '#comment-' . $comment->comment_ID . '">' . apply_filters('the_title', get_the_title($comment->comment_post_ID)) . '</a>');
    5353        edit_comment_link(__("Edit"), ' <small>(', ')</small>');
    5454        echo '</li>';
    5555}