summaryrefslogtreecommitdiffstats
path: root/wp-inst/wp-includes/feed-functions.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2005-12-16 10:28:20 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2005-12-16 10:28:20 +0000
commit0ad4b94b5dd2bdbac3314f7e2e8a8d9815935dfe (patch)
tree524a881c1c901018837914038476eb37ce173cfa /wp-inst/wp-includes/feed-functions.php
parent631f99c5d026f9863851006f82c753c044f5a5c3 (diff)
WP Merge
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@472 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-inst/wp-includes/feed-functions.php')
-rw-r--r--wp-inst/wp-includes/feed-functions.php14
1 files changed, 10 insertions, 4 deletions
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() {