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-atom.php

    r5699 r5910  
    3232        </author>
    3333        <title type="<?php html_type_rss(); ?>"><![CDATA[<?php the_title_rss() ?>]]></title>
    34         <link rel="alternate" type="text/html" href="<?php permalink_single_rss() ?>" />
     34        <link rel="alternate" type="text/html" href="<?php the_permalink_rss() ?>" />
    3535        <id><?php the_guid(); ?></id>
    3636        <updated><?php echo get_post_time('Y-m-d\TH:i:s\Z', true); ?></updated>
     
    3939        <summary type="<?php html_type_rss(); ?>"><![CDATA[<?php the_excerpt_rss(); ?>]]></summary>
    4040<?php if ( !get_option('rss_use_excerpt') ) : ?>
    41         <content type="<?php html_type_rss(); ?>" xml:base="<?php permalink_single_rss() ?>"><![CDATA[<?php the_content('', 0, '') ?>]]></content>
     41        <content type="<?php html_type_rss(); ?>" xml:base="<?php the_permalink_rss() ?>"><![CDATA[<?php the_content('', 0, '') ?>]]></content>
    4242<?php endif; ?>
    4343<?php atom_enclosure(); ?>
Note: See TracChangeset for help on using the changeset viewer.