Format WordPress in <title> tags produced by wp_title().

props evansolomon.
fixes #19211.



git-svn-id: https://develop.svn.wordpress.org/trunk@25093 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2013-08-22 21:58:30 +00:00
parent e99047ff95
commit d5c7150913

View File

@ -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 );