From e11ee489f1d3a5d565f471305c75f6c910048313 Mon Sep 17 00:00:00 2001 From: ryan Date: Mon, 3 Nov 2008 06:22:36 +0000 Subject: [PATCH] Don't descend into single post title for the home page. see #3805 git-svn-id: http://svn.automattic.com/wordpress/trunk@9486 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/general-template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/general-template.php b/wp-includes/general-template.php index a7d93980e..9c6a664bf 100644 --- a/wp-includes/general-template.php +++ b/wp-includes/general-template.php @@ -432,7 +432,7 @@ function wp_title($sep = '»', $display = true, $seplocation = '') { } // If there is a post - if ( ( is_single() || is_page() || is_home() ) && !( is_front_page() && is_page() ) ) { + if ( is_single() || ( is_page() && !is_front_page() ) ) { $post = $wp_query->get_queried_object(); $title = strip_tags( apply_filters( 'single_post_title', $post->post_title ) ); }