diff --git a/wp-includes/general-template.php b/wp-includes/general-template.php index a7d93980e5..9c6a664bf0 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 ) ); }