Make WordPress Core


Ignore:
Timestamp:
09/28/2009 02:36:48 PM (16 years ago)
Author:
ryan
Message:

Deprecates the_content_rss(). Add the_content_feed() and get_the_content_feed(). Convert places that called the_content_rss() with an excerpt length to the_excerpt_rss(). Remove the rss_excerpt_length option. Use the_content_feed() where the_content() was previously used in feeds. Props Viper007Bond.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/feed-rss.php

    r11358 r11980  
    2424    <item>
    2525        <title><?php the_title_rss() ?></title>
    26 <?php if (get_option('rss_use_excerpt')) { ?>
    2726        <description><![CDATA[<?php the_excerpt_rss() ?>]]></description>
    28 <?php } else { // use content ?>
    29         <description><?php the_content_rss('', 0, '', get_option('rss_excerpt_length')) ?></description>
    30 <?php } ?>
    3127        <link><?php the_permalink_rss() ?></link>
    3228        <?php do_action('rss_item'); ?>
Note: See TracChangeset for help on using the changeset viewer.