diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php index d16276a0ce..25d03d12a5 100644 --- a/wp-admin/includes/template.php +++ b/wp-admin/includes/template.php @@ -1924,11 +1924,9 @@ function _wp_comment_row( $comment_id, $mode, $comment_status, $checkbox = true, $the_comment_status = wp_get_comment_status($comment->comment_ID); if ( current_user_can( 'edit_post', $post->ID ) ) { - $post_href = get_edit_post_link($post->ID); - $post_link = ""; + $post_link = ""; $post_link .= get_the_title($comment->comment_post_ID) . ''; } else { - $post_href = ''; $post_link = get_the_title($comment->comment_post_ID); } @@ -1972,10 +1970,7 @@ function _wp_comment_row( $comment_id, $mode, $comment_status, $checkbox = true, case 'comment': echo "