mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
Themes: Improve document title output.
Introduces more flexibility in filtering all parts of the document title,the separator, and a way to short-circuit title generation. Plugins can now also check for theme support and reliably filter the entire output. See #18548. Deprecates `wp_title()`. Fixes #31078. git-svn-id: https://develop.svn.wordpress.org/trunk@35294 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -27,7 +27,7 @@ do_action( 'rss_tag_pre', 'atom' );
|
||||
do_action( 'atom_ns' );
|
||||
?>
|
||||
>
|
||||
<title type="text"><?php bloginfo_rss('name'); wp_title_rss(); ?></title>
|
||||
<title type="text"><?php wp_title_rss(); ?></title>
|
||||
<subtitle type="text"><?php bloginfo_rss("description") ?></subtitle>
|
||||
|
||||
<updated><?php echo mysql2date('Y-m-d\TH:i:s\Z', get_lastpostmodified('GMT'), false); ?></updated>
|
||||
|
||||
Reference in New Issue
Block a user