Make WordPress Core

Changeset 1268


Ignore:
Timestamp:
05/13/2004 05:21:38 PM (21 years ago)
Author:
saxmatt
Message:

Full content fix from markp.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-atom.php

    r1032 r1268  
    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; } } } ?>
Note: See TracChangeset for help on using the changeset viewer.