From e8546797c34688a5e86f2a43611b0d6ec6c1271f Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Thu, 16 Oct 2008 20:21:19 +0000 Subject: [PATCH] Link to post editor from post title in recent comments dash module git-svn-id: https://develop.svn.wordpress.org/trunk@9208 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/includes/dashboard.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/includes/dashboard.php b/wp-admin/includes/dashboard.php index 49b2da80bb..0515622aee 100644 --- a/wp-admin/includes/dashboard.php +++ b/wp-admin/includes/dashboard.php @@ -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 = "$comment_post_title"; $comment_link = '#';