From d5c715091331813fe1fa8de406294d80b30d616d Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Thu, 22 Aug 2013 21:58:30 +0000 Subject: [PATCH] Format WordPress in tags produced by wp_title(). props evansolomon. fixes #19211. git-svn-id: https://develop.svn.wordpress.org/trunk@25093 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/default-filters.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/default-filters.php b/src/wp-includes/default-filters.php index 531fd538e4..84d43aa125 100644 --- a/src/wp-includes/default-filters.php +++ b/src/wp-includes/default-filters.php @@ -100,7 +100,7 @@ foreach ( array( 'comment_author', 'term_name', 'link_name', 'link_description', } // Format WordPress -foreach ( array( 'the_content', 'the_title' ) as $filter ) +foreach ( array( 'the_content', 'the_title', 'wp_title' ) as $filter ) add_filter( $filter, 'capital_P_dangit', 11 ); add_filter( 'comment_text', 'capital_P_dangit', 31 );