diff --git a/wp-includes/template-functions-general.php b/wp-includes/template-functions-general.php index 41151551e..2410aa874 100644 --- a/wp-includes/template-functions-general.php +++ b/wp-includes/template-functions-general.php @@ -166,7 +166,7 @@ function wp_title($sep = '»', $display = true) { } // If there's a post - if (is_single()) { + if (is_single() || is_page()) { $title = strip_tags($posts[0]->post_title); $title = apply_filters('single_post_title', $title); }