Make WordPress Core


Ignore:
Timestamp:
03/10/2007 06:18:43 AM (18 years ago)
Author:
markjaquith
Message:

user_trailingslashit filter for users who sometimes want trailing slashes only on certain URL types. fixes #3899

File:
1 edited

Legend:

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

    r4990 r5019  
    114114    } else {
    115115        $link = get_author_posts_url($author_id, $author_nicename);
    116         $link = $link . user_trailingslashit('feed');
     116        $link = $link . user_trailingslashit('feed', 'feed');
    117117    }
    118118
     
    132132    } else {
    133133        $link = get_category_link($cat_ID);
    134         $link = $link . user_trailingslashit('feed/');
     134        $link = $link . user_trailingslashit('feed', 'feed');
    135135    }
    136136
Note: See TracChangeset for help on using the changeset viewer.