Changeset 1770
- Timestamp:
- 10/10/04 18:41:39 (4 years ago)
- Files:
-
- trunk/wp-commentsrss2.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-commentsrss2.php
r1599 r1770 18 18 $i++; 19 19 ?> 20 <title><?php if (is set($_REQUEST["p"]) || isset($_REQUEST["name"])) { echo "Comments on: "; the_title_rss(); } else { bloginfo_rss("name"); echo " Comments"; } ?></title>21 <link><?php (is set($_REQUEST["p"]) || isset($_REQUEST["name"])) ? permalink_single_rss() : bloginfo_rss("url") ?></link>20 <title><?php if (is_single()) { echo "Comments on: "; the_title_rss(); } else { bloginfo_rss("name"); echo " Comments"; } ?></title> 21 <link><?php (is_single()) ? permalink_single_rss() : bloginfo_rss("url") ?></link> 22 22 <description><?php bloginfo_rss("description") ?></description> 23 23 <pubDate><?php echo gmdate('r'); ?></pubDate> … … 25 25 26 26 <?php 27 if (isset($_REQUEST["p"]) || isset($_REQUEST["name"])) {27 if (is_single()) { 28 28 $comments = $wpdb->get_results("SELECT comment_ID, comment_author, comment_author_email, 29 29 comment_author_url, comment_date, comment_content, comment_post_ID,
