Link to post editor from post title in recent comments dash module

git-svn-id: http://svn.automattic.com/wordpress/trunk@9208 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-10-16 20:21:19 +00:00
parent a5937fc33a
commit 2a2b7d4de2

View File

@ -297,7 +297,7 @@ function _wp_dashboard_recent_comments_row( &$comment, $show_date = true ) {
}
}
$comment_post_url = get_permalink( $comment->comment_post_ID );
$comment_post_url = get_edit_post_link( $comment->comment_post_ID );
$comment_post_title = get_the_title( $comment->comment_post_ID );
$comment_post_link = "<a href='$comment_post_url'>$comment_post_title</a>";
$comment_link = '<a class="comment-link" href="' . get_comment_link() . '">#</a>';