From 0af3658b8d041224af3d32c0e403d874b4bba7a8 Mon Sep 17 00:00:00 2001 From: Alex King Date: Thu, 25 Sep 2003 03:15:23 +0000 Subject: [PATCH] added link to post on each comment git-svn-id: https://develop.svn.wordpress.org/trunk@386 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/wp-edit.showcomments.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/wp-admin/wp-edit.showcomments.php b/wp-admin/wp-edit.showcomments.php index 90b4c91b1f..81b58ef8bc 100644 --- a/wp-admin/wp-edit.showcomments.php +++ b/wp-admin/wp-edit.showcomments.php @@ -143,12 +143,14 @@ echo $comments_nav_bar; ?>

@ + [ View Post $authordata->user_level) or ($user_login == $authordata->user_login)) { - echo "[ comment_ID."\">Edit"; - echo " - post_ID."&comment=".$comment->comment_ID."\" onclick=\"return confirm('You are about to delete this comment by \'".$comment->comment_author."\'\\n \'Cancel\' to stop, \'OK\' to delete.')\">Delete ]"; + echo " - comment_ID."\">Edit"; + echo " - comment_post_ID."&comment=".$comment->comment_ID."\" onclick=\"return confirm('You are about to delete this comment by \'".$comment->comment_author."\'\\n \'Cancel\' to stop, \'OK\' to delete.')\">Delete"; } // end if any comments to show ?> + ]
( / ) (IP: )