Skip to content

Commit 0388fac

Browse files
committed
Full content fix from markp.
git-svn-id: https://develop.svn.wordpress.org/trunk@1268 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 0b6684f commit 0388fac

1 file changed

Lines changed: 3 additions & 8 deletions

File tree

wp-atom.php

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,17 +31,12 @@
3131
<modified><?php echo mysql2date('Y-m-d\TH:i:s\Z', $post->post_modified_gmt); ?></modified>
3232
<issued><?php echo mysql2date('Y-m-d\TH:i:s\Z', $post->post_date_gmt); ?></issued>
3333
<?php the_category_rss('rdf') ?>
34-
<?php $more = 1; if (get_settings('rss_use_excerpt')) {
35-
?>
34+
<?php $more = 1; if (get_settings('rss_use_excerpt')) { ?>
3635
<summary type="text/html" mode="escaped"><?php the_excerpt_rss(get_settings('rss_excerpt_length'), 2) ?></summary>
37-
<?php
38-
} else { // use content
39-
?>
36+
<?php } else { // use content ?>
4037
<summary type="text/html"><?php the_content_rss('', 0, '', get_settings('rss_excerpt_length'), 2) ?></summary>
41-
<?php
42-
} // end else use content
43-
?>
4438
<content type="text/html" mode="escaped" xml:base="<?php permalink_single_rss() ?>"><![CDATA[<?php the_content('', 0, '') ?>]]></content>
39+
<?php } // end else use content ?>
4540
</entry>
4641
<?php $items_count++; if (($items_count == get_settings('posts_per_rss')) && empty($m)) { break; } } } ?>
4742
</feed>

0 commit comments

Comments
 (0)