WordPress.org

Make WordPress Core


Ignore:
Timestamp:
08/21/07 18:27:45 (10 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.php

    r5755 r5910  
    7070} 
    7171 
    72  
    73 function permalink_single_rss($file = '') { 
    74     echo get_permalink(); 
    75 } 
    76  
     72function the_permalink_rss() { 
     73    echo apply_filters('the_permalink_rss', get_permalink()); 
     74 
     75} 
    7776 
    7877function comment_link() { 
Note: See TracChangeset for help on using the changeset viewer.