WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/20/2015 04:20:04 PM (4 years ago)
Author:
obenland
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/feed-rss2.php

    r33281 r35294  
    3939
    4040<channel>
    41     <title><?php bloginfo_rss('name'); wp_title_rss(); ?></title>
     41    <title><?php wp_title_rss(); ?></title>
    4242    <atom:link href="<?php self_link(); ?>" rel="self" type="application/rss+xml" />
    4343    <link><?php bloginfo_rss('url') ?></link>
Note: See TracChangeset for help on using the changeset viewer.