From 0ad4b94b5dd2bdbac3314f7e2e8a8d9815935dfe Mon Sep 17 00:00:00 2001 From: donncha Date: Fri, 16 Dec 2005 10:28:20 +0000 Subject: WP Merge git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@472 7be80a69-a1ef-0310-a953-fb0f7c49ff36 --- wp-inst/wp-includes/feed-functions.php | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'wp-inst/wp-includes/feed-functions.php') diff --git a/wp-inst/wp-includes/feed-functions.php b/wp-inst/wp-includes/feed-functions.php index 94eb8dc..40e6778 100644 --- a/wp-inst/wp-includes/feed-functions.php +++ b/wp-inst/wp-includes/feed-functions.php @@ -9,11 +9,15 @@ function bloginfo_rss($show = '') { echo get_bloginfo_rss($show); } -function the_title_rss() { +function get_the_title_rss() { $title = get_the_title(); $title = apply_filters('the_title', $title); $title = apply_filters('the_title_rss', $title); - echo $title; + return $title; +} + +function the_title_rss() { + echo get_the_title_rss(); } function the_content_rss($more_link_text='(more...)', $stripteaser=0, $more_file='', $cut = 0, $encode_html = 0) { @@ -62,9 +66,11 @@ function comment_link() { echo get_comment_link(); } +function get_comment_author_rss() { + return apply_filters('comment_author_rss', get_comment_author() ); +} function comment_author_rss() { - $author = apply_filters('comment_author_rss', get_comment_author() ); - echo $author; + echo get_comment_author_rss(); } function comment_text_rss() { -- cgit