From 8309fe9c311d421a37b28fd6d636a7b060efaed7 Mon Sep 17 00:00:00 2001 From: saxmatt Date: Wed, 5 May 2004 07:59:51 +0000 Subject: [PATCH] Missed the cat call. git-svn-id: http://svn.automattic.com/wordpress/trunk@1228 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/template-functions-category.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/template-functions-category.php b/wp-includes/template-functions-category.php index 87a4fb49d..c454231d7 100644 --- a/wp-includes/template-functions-category.php +++ b/wp-includes/template-functions-category.php @@ -28,7 +28,7 @@ function get_category_link($echo = false, $category_id, $category_nicename) { $category_nicename = preg_replace( '|[^a-z0-9-]|i', '', $category_nicename ); // Get any static stuff from the front $front = substr($permalink_structure, 0, strpos($permalink_structure, '%')); - $link = get_settings('home') . $front . 'category/'; + $link = get_settings('home') . get_settings('category_base') . '/'; if ($parent=$cache_categories[$category_id]->category_parent) $link .= get_category_parents($parent, FALSE, '/', TRUE); $link .= $category_nicename . '/'; }