From 07697db8d16916383276bf9fb3d82be1552ee0a5 Mon Sep 17 00:00:00 2001 From: ryan Date: Wed, 26 Mar 2008 19:35:42 +0000 Subject: [PATCH] Link to post instead of post editor from edit-comments.php. git-svn-id: http://svn.automattic.com/wordpress/trunk@7528 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/template.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php index a9c327a7c9..3e67338f94 100644 --- a/wp-admin/includes/template.php +++ b/wp-admin/includes/template.php @@ -617,12 +617,7 @@ function _wp_comment_row( $comment_id, $mode, $comment_status, $checkbox = true $class = ('unapproved' == $the_comment_status) ? 'unapproved' : ''; if ( current_user_can( 'edit_post', $post->ID ) ) { - if ( 'attachment' == $post->post_type ) - $post_link = ""; - elseif ( 'page' == $post->post_type ) - $post_link = ""; - else - $post_link = ""; + $post_link = ""; $post_link .= get_the_title($comment->comment_post_ID) . '';