Fix slashing in tag feed link. fixes #7044 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8000 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
6c8d35de32
commit
af2c9dd301
|
@ -402,7 +402,7 @@ function get_tag_feed_link($tag_id, $feed = '') {
|
||||||
$feed_link = 'feed';
|
$feed_link = 'feed';
|
||||||
else
|
else
|
||||||
$feed_link = "feed/$feed";
|
$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);
|
$link = apply_filters('tag_feed_link', $link, $feed);
|
||||||
|
|
Loading…
Reference in New Issue