From 85c6d10658c8ab8328ba281e807295a2f804db52 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Tue, 27 May 2008 17:56:46 +0000 Subject: [PATCH] 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 --- wp-includes/link-template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/link-template.php b/wp-includes/link-template.php index 77a3e85aa3..8b58b3d483 100644 --- a/wp-includes/link-template.php +++ b/wp-includes/link-template.php @@ -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);