diff options
author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2006-03-16 17:16:37 +0000 |
---|---|---|
committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2006-03-16 17:16:37 +0000 |
commit | 1562bce60e78b8524eb75399337208798ed71e39 (patch) | |
tree | 9ff38010eb1b1809a87f87e2d92a7b6445bc4006 /wp-inst | |
parent | 702aa40642ac52e5c61f949456315aad49664fac (diff) | |
download | wordpress-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.php | 8 |
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&comment=".$comment->comment_ID."\">" . __('Edit') . "</a>"; - echo " - <a href=\"post.php?action=deletecomment&p=".$post->ID."&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&comment=".$comment->comment_ID."\">" . __('Edit') . "</a>"; + echo " - <a href=\"comment.php?action=deletecomment&p=".$post->ID."&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&p=".$post->ID."&comment=".$comment->comment_ID."\">" . __('Unapprove') . "</a> "; + echo " - <a href=\"comment.php?action=unapprovecomment&p=".$post->ID."&comment=".$comment->comment_ID."\">" . __('Unapprove') . "</a> "; } else { - echo " - <a href=\"post.php?action=approvecomment&p=".$post->ID."&comment=".$comment->comment_ID."\">" . __('Approve') . "</a> "; + echo " - <a href=\"comment.php?action=approvecomment&p=".$post->ID."&comment=".$comment->comment_ID."\">" . __('Approve') . "</a> "; } } echo "]"; |