From b764f60728be1d4e026f9d7ae618ab47e23322f8 Mon Sep 17 00:00:00 2001 From: donncha Date: Thu, 31 Aug 2006 14:55:29 +0000 Subject: WP Merge to rev #4147 git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@729 7be80a69-a1ef-0310-a953-fb0f7c49ff36 --- wp-includes/category-template.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'wp-includes/category-template.php') diff --git a/wp-includes/category-template.php b/wp-includes/category-template.php index 0ca0e62..2c7db3a 100644 --- a/wp-includes/category-template.php +++ b/wp-includes/category-template.php @@ -23,7 +23,7 @@ function get_category_link($category_id) { $catlink = $wp_rewrite->get_category_permastruct(); if ( empty($catlink) ) { - $file = get_settings('home') . '/'; + $file = get_option('home') . '/'; $catlink = $file . '?cat=' . $category_id; } else { $category = &get_category($category_id); @@ -33,7 +33,7 @@ function get_category_link($category_id) { $category_nicename = get_category_parents($parent, false, '/', true) . $category_nicename . '/'; $catlink = str_replace('%category%', $category_nicename, $catlink); - $catlink = get_settings('home') . trailingslashit($catlink); + $catlink = get_option('home') . trailingslashit($catlink); } return apply_filters('category_link', $catlink, $category_id); } -- cgit