From b00beb3027744340134594fa7b1ff953f6b48e1b Mon Sep 17 00:00:00 2001 From: ryan Date: Wed, 23 May 2007 18:59:12 +0000 Subject: [PATCH] Convert category queries and list cats to taxonomy. see #4189 git-svn-id: http://svn.automattic.com/wordpress/trunk@5530 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/bookmark-template.php | 12 ++++++------ wp-includes/category-template.php | 4 ++-- wp-includes/classes.php | 28 ++++++++++++++-------------- wp-includes/query.php | 26 +++++++++++++------------- 4 files changed, 35 insertions(+), 35 deletions(-) diff --git a/wp-includes/bookmark-template.php b/wp-includes/bookmark-template.php index 2a06cf2a2..3d644a6be 100644 --- a/wp-includes/bookmark-template.php +++ b/wp-includes/bookmark-template.php @@ -167,7 +167,7 @@ function get_linkcatname($id = 0) { $cat_id = (int) $cats[0]; // Take the first cat. $cat = get_category($cat_id); - return $cat->cat_name; + return $cat->name; } /** function links_popup_script() @@ -229,9 +229,9 @@ function get_links_list($order = 'name', $hide_if_empty = 'obsolete') { // Handle each category. // Display the category name - echo '
  • ' . $cat->cat_name . "

    \n\t