From 198bf6552503e3953e55bc547f793a926d572792 Mon Sep 17 00:00:00 2001 From: ryan Date: Sat, 10 Mar 2007 05:13:40 +0000 Subject: [PATCH] apply filter before stripping tags. Props jhodgdon. fixes #3755 git-svn-id: http://svn.automattic.com/wordpress/trunk@5014 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 cbfe7045ae..b7e6c214fc 100644 --- a/wp-includes/general-template.php +++ b/wp-includes/general-template.php @@ -215,8 +215,8 @@ function wp_title($sep = '»', $display = true) { // If there is a post if ( is_single() || is_page() ) { $post = $wp_query->get_queried_object(); - $title = strip_tags($post->post_title); $title = apply_filters('single_post_title', $title); + $title = strip_tags($post->post_title); } $prefix = '';