Make WordPress Core


Ignore:
Timestamp:
08/21/2007 06:27:45 PM (17 years ago)
Author:
ryan
Message:

Deprecate permalink_single_rss(). Add the_permalink_rss() with accompanying filter. Props joostdevalk and Otto42. fixes #4654

File:
1 edited

Legend:

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

    r5640 r5910  
    2828        <rdf:Seq>
    2929        <?php while (have_posts()): the_post(); ?>
    30             <rdf:li rdf:resource="<?php permalink_single_rss() ?>"/>
     30            <rdf:li rdf:resource="<?php the_permalink_rss() ?>"/>
    3131        <?php endwhile; ?>
    3232        </rdf:Seq>
     
    3434</channel>
    3535<?php rewind_posts(); while (have_posts()): the_post(); ?>
    36 <item rdf:about="<?php permalink_single_rss() ?>">
     36<item rdf:about="<?php the_permalink_rss() ?>">
    3737    <title><?php the_title_rss() ?></title>
    38     <link><?php permalink_single_rss() ?></link>
     38    <link><?php the_permalink_rss() ?></link>
    3939     <dc:date><?php echo mysql2date('Y-m-d\TH:i:s\Z', $post->post_date_gmt, false); ?></dc:date>
    4040    <dc:creator><?php the_author() ?></dc:creator>
Note: See TracChangeset for help on using the changeset viewer.