Fix slashing in tag feed link. fixes #7044 for trunk

git-svn-id: https://develop.svn.wordpress.org/trunk@8000 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2008-05-27 17:56:46 +00:00
parent 6cc11cbf1e
commit 85c6d10658

View File

@ -402,7 +402,7 @@ function get_tag_feed_link($tag_id, $feed = '') {
$feed_link = 'feed';
else
$feed_link = "feed/$feed";
$link = $link . user_trailingslashit($feed_link, 'feed');
$link = trailingslashit($link) . user_trailingslashit($feed_link, 'feed');
}
$link = apply_filters('tag_feed_link', $link, $feed);