From 3261234a0d3208e9bb32bc408dc594cfb2d2aa63 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Wed, 23 May 2007 18:59:12 +0000 Subject: [PATCH] Convert category queries and list cats to taxonomy. see #4189 git-svn-id: https://develop.svn.wordpress.org/trunk@5530 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 2a06cf2a2a..3d644a6be9 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