From bb1251c43ec77900718291f50acdfb17f0fc45c2 Mon Sep 17 00:00:00 2001 From: alex_t_king Date: Thu, 25 Sep 2003 03:14:52 +0000 Subject: [PATCH] hide comments list when viewing a post git-svn-id: http://svn.automattic.com/wordpress/trunk@385 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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 /* */