From a4a52da923a99f7465db8ce9abfc5698239decb9 Mon Sep 17 00:00:00 2001 From: ryan Date: Thu, 22 Jun 2006 03:55:03 +0000 Subject: [PATCH] Doh. Fix wp_list_bookmarks(). git-svn-id: http://svn.automattic.com/wordpress/trunk@3899 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/bookmark-template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/bookmark-template.php b/wp-includes/bookmark-template.php index 43ff438bc6..8bed640000 100644 --- a/wp-includes/bookmark-template.php +++ b/wp-includes/bookmark-template.php @@ -359,11 +359,11 @@ function wp_list_bookmarks($args = '') { if ( $categorize ) { $cats = get_categories("type=link&orderby=$category_orderby&order=$category_order&hierarchical=0"); foreach ( (array) $cats as $cat ) { + $r['category'] = $cat->cat_ID; $bookmarks = get_bookmarks($r); if ( empty($bookmarks) ) continue; $output .= "
  • cat_ID\">$title_before$cat->cat_name$title_after\n\t\n
  • \n"; }