Make WordPress Core


Ignore:
Timestamp:
12/15/2005 10:20:06 PM (19 years ago)
Author:
ryan
Message:

Add post titles to site comment feed. Add some gettext. fixes #2067 #1987

File:
1 edited

Legend:

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

    r3140 r3314  
    1010}
    1111
    12 function the_title_rss() {
     12function get_the_title_rss() {
    1313    $title = get_the_title();
    1414    $title = apply_filters('the_title', $title);
    1515    $title = apply_filters('the_title_rss', $title);
    16     echo $title;
     16    return $title;
     17}
     18
     19function the_title_rss() {
     20    echo get_the_title_rss();
    1721}
    1822
     
    6367}
    6468
     69function get_comment_author_rss() {
     70    return apply_filters('comment_author_rss', get_comment_author() );
     71}
    6572function comment_author_rss() {
    66     $author = apply_filters('comment_author_rss', get_comment_author() );
    67     echo $author;
     73    echo get_comment_author_rss();
    6874}
    6975
Note: See TracChangeset for help on using the changeset viewer.