mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-16 19:46:21 +00:00
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:
parent
527f73fbb7
commit
24a9673b1e
@ -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…
x
Reference in New Issue
Block a user