summaryrefslogtreecommitdiffstats
path: root/wp-inst/wp-admin/edit-comments.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2005-11-11 11:27:43 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2005-11-11 11:27:43 +0000
commitb92deb93cf1b425d3b0da113dce719ff3e7af839 (patch)
tree4579958b1d0169cf8d86ad2e55286c7b5be90148 /wp-inst/wp-admin/edit-comments.php
parentaa750edffae8aeb649b0b2f15900db988e588de7 (diff)
downloadwordpress-mu-b92deb93cf1b425d3b0da113dce719ff3e7af839.tar.gz
wordpress-mu-b92deb93cf1b425d3b0da113dce719ff3e7af839.tar.xz
wordpress-mu-b92deb93cf1b425d3b0da113dce719ff3e7af839.zip
WP Merge
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@430 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-inst/wp-admin/edit-comments.php')
-rw-r--r--wp-inst/wp-admin/edit-comments.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/wp-inst/wp-admin/edit-comments.php b/wp-inst/wp-admin/edit-comments.php
index 3faf7e1..b13c7f1 100644
--- a/wp-inst/wp-admin/edit-comments.php
+++ b/wp-inst/wp-admin/edit-comments.php
@@ -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&amp;comment=".$comment->comment_ID."\">" . __('Edit Comment') . "</a>";
- }
- if ( current_user_can('edit_post', $comment->comment_post_ID) ) {
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; ";
} // end if any comments to show
// Get post title