making the category links include the trailing slash

git-svn-id: https://develop.svn.wordpress.org/trunk@749 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Alex King
2004-01-10 01:46:27 +00:00
parent 7b9938f084
commit fefc13fc6a
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1358,7 +1358,7 @@ function get_category_link($echo = false, $category_id, $category_nicename) {
if ('' == $category_nicename) $category_nicename = $wpdb->get_var("SELECT category_nicename FROM $tablecategories WHERE cat_ID = $category_id");
// Get any static stuff from the front
$front = substr($permalink_structure, 0, strpos($permalink_structure, '%'));
$link = $siteurl . $front . 'category/' . $category_nicename;
$link = $siteurl . $front . 'category/' . $category_nicename . '/';
}
if ($echo) echo $link;