From fd1b078df6c53c5236239e981102be7005867f9d Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Sat, 10 Mar 2007 05:13:40 +0000 Subject: [PATCH] apply filter before stripping tags. Props jhodgdon. fixes #3755 git-svn-id: https://develop.svn.wordpress.org/trunk@5014 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 = '';