WordPress.org

Make WordPress Core


Ignore:
Timestamp:
08/21/2007 06:27:45 PM (11 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-rss2-comments.php

    r5881 r5910  
    1818            printf(__('Comments for %s'), get_bloginfo_rss( 'name' ) . get_wp_title_rss());
    1919    ?></title>
    20     <link><?php (is_single()) ? permalink_single_rss() : bloginfo_rss("url") ?></link>
     20    <link><?php (is_single()) ? the_permalink_rss() : bloginfo_rss("url") ?></link>
    2121    <description><?php bloginfo_rss("description") ?></description>
    2222    <pubDate><?php echo gmdate('r'); ?></pubDate>
    2323    <generator>http://wordpress.org/?v=<?php echo $wp_version ?></generator>
    2424
    25 <?php 
     25<?php
    2626if ( have_comments() ) : while ( have_comments() ) : the_comment();
    2727    $comment_post = get_post($comment->comment_post_ID);
Note: See TracChangeset for help on using the changeset viewer.