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) . '';