From c08d7f60826a9e94735fdec73e0ac3295173b0a3 Mon Sep 17 00:00:00 2001 From: Matt Mullenweg 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: https://develop.svn.wordpress.org/trunk@553 602fd350-edb4-49c9-b593-d223f7449a82 --- blog.header.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/blog.header.php b/blog.header.php index d6dbca090f..ddcce10814 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)); }