Remove redundant lines. Props johnjosephbachir. fixes #1774
git-svn-id: http://svn.automattic.com/wordpress/trunk@3036 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
98945dd8b4
commit
33404a070f
|
@ -95,8 +95,6 @@ if ('view' == $mode) {
|
|||
<p><?php _e('Posted'); echo ' '; comment_date('M j, g:i A');
|
||||
if ( current_user_can('edit_post', $comment->comment_post_ID) ) {
|
||||
echo " | <a href=\"post.php?action=editcomment&comment=".$comment->comment_ID."\">" . __('Edit Comment') . "</a>";
|
||||
}
|
||||
if ( current_user_can('edit_post', $comment->comment_post_ID) ) {
|
||||
echo " | <a href=\"post.php?action=deletecomment&p=".$comment->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') . "</a> — ";
|
||||
} // end if any comments to show
|
||||
// Get post title
|
||||
|
|
Loading…
Reference in New Issue