From 2a2b7d4de25f32b3bf9550756b5acd8a4c87c126 Mon Sep 17 00:00:00 2001 From: ryan 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: http://svn.automattic.com/wordpress/trunk@9208 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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 = '#';