Make WordPress Core


Ignore:
Timestamp:
11/11/2005 12:32:15 AM (19 years ago)
Author:
ryan
Message:

Remove redundant lines. Props johnjosephbachir. fixes #1774

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-comments.php

    r2832 r3036  
    9696            if ( current_user_can('edit_post', $comment->comment_post_ID) ) {
    9797                echo " | <a href=\"post.php?action=editcomment&amp;comment=".$comment->comment_ID."\">" . __('Edit Comment') . "</a>";
    98             }
    99             if ( current_user_can('edit_post', $comment->comment_post_ID) ) {
    10098                echo " | <a href=\"post.php?action=deletecomment&amp;p=".$comment->comment_post_ID."&amp;comment=".$comment->comment_ID."\" onclick=\"return deleteSomething( 'comment', $comment->comment_ID, '" . sprintf(__("You are about to delete this comment by &quot;%s&quot;.\\n&quot;Cancel&quot; to stop, &quot;OK&quot; to delete."), wp_specialchars( $comment->comment_author, 1 ))  . "' );\">" . __('Delete Comment') . "</a> &#8212; ";
    10199            } // end if any comments to show
Note: See TracChangeset for help on using the changeset viewer.