diff options
author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2006-11-24 16:16:44 +0000 |
---|---|---|
committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2006-11-24 16:16:44 +0000 |
commit | 600b71019494e1c29898a620e58c0d2602f37b74 (patch) | |
tree | 21181d77ad4ebbcd42cd883e509c08a568d29514 /wp-commentsrss2.php | |
parent | 7935d0bd9ef23d32ae29a95bd6c3ea0b6eab2973 (diff) | |
download | wordpress-mu-600b71019494e1c29898a620e58c0d2602f37b74.tar.gz wordpress-mu-600b71019494e1c29898a620e58c0d2602f37b74.tar.xz wordpress-mu-600b71019494e1c29898a620e58c0d2602f37b74.zip |
WP Merge to 4524
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@810 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-commentsrss2.php')
-rw-r--r-- | wp-commentsrss2.php | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/wp-commentsrss2.php b/wp-commentsrss2.php index 3a5d7bf..a0434d9 100644 --- a/wp-commentsrss2.php +++ b/wp-commentsrss2.php @@ -1,4 +1,4 @@ -<?php +<?php if (empty($wp)) { require_once('wp-config.php'); @@ -58,12 +58,13 @@ if (have_posts()) : $title = apply_filters('the_title_rss', $title); printf(__('Comment on %1$s by %2$s'), $title, get_comment_author_rss()); } else { - printf(__('by: %s'), get_comment_author_rss()); + printf(__('By: %s'), get_comment_author_rss()); } ?></title> <link><?php comment_link() ?></link> + <author><?php echo get_comment_author_rss() ?></author> <pubDate><?php echo mysql2date('D, d M Y H:i:s +0000', get_comment_time('Y-m-d H:i:s', true), false); ?></pubDate> <guid><?php comment_link() ?></guid> - <?php + <?php if (!empty($comment->post_password) && $_COOKIE['wp-postpass'] != $comment->post_password) { ?> <description><?php _e('Protected Comments: Please enter your password to view comments.'); ?></description> @@ -73,12 +74,12 @@ if (have_posts()) : ?> <description><?php comment_text_rss() ?></description> <content:encoded><![CDATA[<?php comment_text() ?>]]></content:encoded> - <?php - } // close check for password + <?php + } // close check for password ?> </item> -<?php - } +<?php + } } } endwhile; endif; |