Make WordPress Core

Ticket #25229: wp-includes-feed-rss.diff

File wp-includes-feed-rss.diff, 926 bytes (added by dustyf, 11 years ago)

First pass at wp-includes/feed-rss.php

  • wp-includes/feed-rss.php

     
    1717        <lastBuildDate><?php echo mysql2date('D, d M Y H:i:s +0000', get_lastpostmodified('GMT'), false); ?></lastBuildDate>
    1818        <docs>http://backend.userland.com/rss092</docs>
    1919        <language><?php bloginfo_rss( 'language' ); ?></language>
     20        /**
     21         * Fired at the end of the RSS Feed Header.
     22         *
     23         * @since 2.0.0
     24         */
    2025        <?php do_action('rss_head'); ?>
    2126
    2227<?php while (have_posts()) : the_post(); ?>
     
    2429                <title><?php the_title_rss() ?></title>
    2530                <description><![CDATA[<?php the_excerpt_rss() ?>]]></description>
    2631                <link><?php the_permalink_rss() ?></link>
     32                /**
     33                 * Fired at the end of each RSS feed item.
     34                 *
     35                 * @since 2.0.0
     36                 */
    2737                <?php do_action('rss_item'); ?>
    2838        </item>
    2939<?php endwhile; ?>