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:
parent
e99047ff95
commit
d5c7150913
@ -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 );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user