From e38d20165c6061c5ec9f7e4365b64ca569416716 Mon Sep 17 00:00:00 2001 From: Alex King Date: Thu, 25 Sep 2003 03:14:52 +0000 Subject: [PATCH] hide comments list when viewing a post git-svn-id: https://develop.svn.wordpress.org/trunk@385 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/b2edit.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/wp-admin/b2edit.php b/wp-admin/b2edit.php index 8996f54179..8fbf01a6ee 100644 --- a/wp-admin/b2edit.php +++ b/wp-admin/b2edit.php @@ -473,8 +473,10 @@ switch($action) { include('wp-edit.showposts.php'); echo '

'; - include('wp-edit.showcomments.php'); - + if (empty($_REQUEST["p"])) { + include('wp-edit.showcomments.php'); + } + break; } // end switch /* */