From 33404a070f795f0a729161bc1ff50a75d8d64ea7 Mon Sep 17 00:00:00 2001 From: ryan Date: Fri, 11 Nov 2005 00:32:15 +0000 Subject: [PATCH] Remove redundant lines. Props johnjosephbachir. fixes #1774 git-svn-id: http://svn.automattic.com/wordpress/trunk@3036 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/edit-comments.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/wp-admin/edit-comments.php b/wp-admin/edit-comments.php index 3faf7e1d3..b13c7f156 100644 --- a/wp-admin/edit-comments.php +++ b/wp-admin/edit-comments.php @@ -95,8 +95,6 @@ if ('view' == $mode) {

comment_post_ID) ) { echo " | comment_ID."\">" . __('Edit Comment') . ""; - } - if ( current_user_can('edit_post', $comment->comment_post_ID) ) { echo " | comment_post_ID."&comment=".$comment->comment_ID."\" onclick=\"return deleteSomething( 'comment', $comment->comment_ID, '" . sprintf(__("You are about to delete this comment by "%s".\\n"Cancel" to stop, "OK" to delete."), wp_specialchars( $comment->comment_author, 1 )) . "' );\">" . __('Delete Comment') . " — "; } // end if any comments to show // Get post title