summaryrefslogtreecommitdiffstats
path: root/wp-inst
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2006-03-16 17:16:37 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2006-03-16 17:16:37 +0000
commit1562bce60e78b8524eb75399337208798ed71e39 (patch)
tree9ff38010eb1b1809a87f87e2d92a7b6445bc4006 /wp-inst
parent702aa40642ac52e5c61f949456315aad49664fac (diff)
downloadwordpress-mu-1562bce60e78b8524eb75399337208798ed71e39.tar.gz
wordpress-mu-1562bce60e78b8524eb75399337208798ed71e39.tar.xz
wordpress-mu-1562bce60e78b8524eb75399337208798ed71e39.zip
Fixed comment delete links
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@540 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-inst')
-rw-r--r--wp-inst/wp-admin/edit.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/wp-inst/wp-admin/edit.php b/wp-inst/wp-admin/edit.php
index 789675d..d8e201f 100644
--- a/wp-inst/wp-admin/edit.php
+++ b/wp-inst/wp-admin/edit.php
@@ -258,13 +258,13 @@ $comment_status = wp_get_comment_status($comment->comment_ID);
<?php comment_time('g:m:s a') ?>
<?php
if ( current_user_can('edit_post', $post->ID) ) {
- echo "[ <a href=\"post.php?action=editcomment&amp;comment=".$comment->comment_ID."\">" . __('Edit') . "</a>";
- echo " - <a href=\"post.php?action=deletecomment&amp;p=".$post->ID."&amp;comment=".$comment->comment_ID."\" onclick=\"return confirm('" . sprintf(__("You are about to delete this comment by \'%s\'\\n \'OK\' to delete, \'Cancel\' to stop."), $comment->comment_author) . "')\">" . __('Delete') . "</a> ";
+ echo "[ <a href=\"comment.php?action=editcomment&amp;comment=".$comment->comment_ID."\">" . __('Edit') . "</a>";
+ echo " - <a href=\"comment.php?action=deletecomment&amp;p=".$post->ID."&amp;comment=".$comment->comment_ID."\" onclick=\"return confirm('" . sprintf(__("You are about to delete this comment by \'%s\'\\n \'OK\' to delete, \'Cancel\' to stop."), $comment->comment_author) . "')\">" . __('Delete') . "</a> ";
if ( ('none' != $comment_status) && ( current_user_can('moderate_comments') ) ) {
if ('approved' == wp_get_comment_status($comment->comment_ID)) {
- echo " - <a href=\"post.php?action=unapprovecomment&amp;p=".$post->ID."&amp;comment=".$comment->comment_ID."\">" . __('Unapprove') . "</a> ";
+ echo " - <a href=\"comment.php?action=unapprovecomment&amp;p=".$post->ID."&amp;comment=".$comment->comment_ID."\">" . __('Unapprove') . "</a> ";
} else {
- echo " - <a href=\"post.php?action=approvecomment&amp;p=".$post->ID."&amp;comment=".$comment->comment_ID."\">" . __('Approve') . "</a> ";
+ echo " - <a href=\"comment.php?action=approvecomment&amp;p=".$post->ID."&amp;comment=".$comment->comment_ID."\">" . __('Approve') . "</a> ";
}
}
echo "]";