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/deprecated.php

    r5569 r5910  
    237237    if ( !$cat )
    238238        return false;
    239     $cat_id = $cat->term_id;   
     239    $cat_id = $cat->term_id;
    240240
    241241    $args = add_query_arg('category', $cat_id, $args);
     
    267267        $cat = get_term_by('name', $cat_name, 'link_category');
    268268        if ( $cat )
    269             $cat_id = $cat->term_id;   
     269            $cat_id = $cat->term_id;
    270270
    271271        return get_linkobjects($cat_id, $orderby, $limit);
     
    315315        $links_array = array();
    316316        foreach ($links as $link) {
    317             $links_array[] = $link; 
     317            $links_array[] = $link;
    318318        }
    319319
     
    485485}
    486486
     487// Use the_permalink_rss()
     488function permalink_single_rss($file = '') {
     489    the_permalink_rss();
     490}
     491
    487492?>
Note: See TracChangeset for help on using the changeset viewer.