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

props evansolomon.
fixes #19211.


Built from https://develop.svn.wordpress.org/trunk@25093


git-svn-id: http://core.svn.wordpress.org/trunk@25077 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Nacin 2013-08-22 21:59:10 +00:00
parent 527f73fbb7
commit 24a9673b1e

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