WordPress.org

Make WordPress Core

Ticket #7881: 7881.patch

File 7881.patch, 814 bytes (added by Viper007Bond, 6 years ago)
  • wp-admin/includes/dashboard.php

     
    299299 
    300300        $comment_post_url = get_permalink( $comment->comment_post_ID ); 
    301301        $comment_post_title = get_the_title( $comment->comment_post_ID ); 
    302         $comment_post_link = "<a href='$comment_post_url'>$comment_post_title</a>"; 
     302        $comment_post_link = "<a href='$comment_post_url#comment-$comment->comment_ID'>$comment_post_title</a>"; 
    303303        $comment_link = '<a class="comment-link" href="' . get_comment_link() . '">#</a>'; 
    304304 
    305305        $delete_url = clean_url( wp_nonce_url( "comment.php?action=deletecomment&p=$comment->comment_post_ID&c=$comment->comment_ID", "delete-comment_$comment->comment_ID" ) );