Make WordPress Core

Changeset 3899


Ignore:
Timestamp:
06/22/2006 03:55:03 AM (18 years ago)
Author:
ryan
Message:

Doh. Fix wp_list_bookmarks().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/bookmark-template.php

    r3880 r3899  
    360360        $cats = get_categories("type=link&orderby=$category_orderby&order=$category_order&hierarchical=0");
    361361        foreach ( (array) $cats as $cat ) {
     362            $r['category'] = $cat->cat_ID;
    362363            $bookmarks = get_bookmarks($r);
    363364            if ( empty($bookmarks) )
    364365                continue;
    365366            $output .= "<li id=\"linkcat-$cat->cat_ID\">$title_before$cat->cat_name$title_after\n\t<ul>\n";
    366             $r['category'] = $cat->cat_ID;
    367367            $output .= _walk_bookmarks($bookmarks, $r);
    368368            $output .= "\n\t</ul>\n</li>\n";
Note: See TracChangeset for help on using the changeset viewer.