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 = '#';