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-rss.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-rss.php')
-rw-r--r-- | wp-rss.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -21,7 +21,7 @@ $more = 1; <language><?php echo get_option('rss_language'); ?></language> <?php do_action('rss_head'); ?> -<?php $items_count = 0; if ($posts) { foreach ($posts as $post) { start_wp(); ?> +<?php while (have_posts()) : the_post(); ?> <item> <title><?php the_title_rss() ?></title> <?php if (get_option('rss_use_excerpt')) { ?> @@ -32,6 +32,6 @@ $more = 1; <link><?php permalink_single_rss() ?></link> <?php do_action('rss_item'); ?> </item> -<?php $items_count++; if (($items_count == get_option('posts_per_rss')) && empty($m)) { break; } } } ?> +<?php endwhile; ?> </channel> </rss> |