From f33ef28bfcbc2fbb2eeab13e9326a23681f3c93c Mon Sep 17 00:00:00 2001 From: saxmatt Date: Sun, 23 Nov 2003 08:41:40 +0000 Subject: [PATCH] Only show comments and such if an individual post identifier is given. git-svn-id: http://svn.automattic.com/wordpress/trunk@553 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- blog.header.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/blog.header.php b/blog.header.php index d6dbca090..ddcce1081 100644 --- a/blog.header.php +++ b/blog.header.php @@ -306,7 +306,11 @@ if ($preview) { $posts = $wpdb->get_results($request); if (1 == count($posts)) { - $more = 1; $c = 1; $single = 1; + if ($id || $name) { + $more = 1; + $c = 1; + $single = 1; + } if ($s) { // If they were doing a search and got one result header('Location: ' . get_permalink($posts[0]->ID)); }