From 9da4d0f021c1c839ebc5563bf313bd52443dae57 Mon Sep 17 00:00:00 2001 From: ryan Date: Fri, 25 Feb 2005 02:07:08 +0000 Subject: [PATCH] Use is_single() and is_page() to determine if single and more should be set. http://mosquito.wordpress.org/view.php?id=969 Props: coffee2code git-svn-id: http://svn.automattic.com/wordpress/trunk@2378 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-blog-header.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-blog-header.php b/wp-blog-header.php index d3e029532..78280f9ba 100644 --- a/wp-blog-header.php +++ b/wp-blog-header.php @@ -174,7 +174,7 @@ $posts = query_posts($query_string); // Extract updated query vars back into global namespace. extract($wp_query->query_vars); -if (1 == count($posts)) { +if ( is_single() || is_page() ) { $more = 1; $single = 1; } @@ -255,4 +255,4 @@ if ( defined('WP_USE_THEMES') && constant('WP_USE_THEMES') ) { } endif; -?> \ No newline at end of file +?>