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"; }