Ticket #16681: bookmark-template.patch
| File bookmark-template.patch, 925 bytes (added by robhogg, 2 years ago) |
|---|
-
wp-includes/bookmark-template.
old new 218 218 if ( $categorize ) { 219 219 //Split the bookmarks into ul's for each category 220 220 $cats = get_terms('link_category', array('name__like' => $category_name, 'include' => $category, 'exclude' => $exclude_category, 'orderby' => $category_orderby, 'order' => $category_order, 'hierarchical' => 0)); 221 222 //open the outermost ul 223 $output .= "<ul class=\"xoxo blogroll\">\n"; 221 224 222 225 foreach ( (array) $cats as $cat ) { 223 226 $params = array_merge($r, array('category'=>$cat->term_id)); … … 230 233 $output .= _walk_bookmarks($bookmarks, $r); 231 234 $output .= "\n\t</ul>\n$category_after\n"; 232 235 } 236 237 //close the outer ul 238 $output .= "</ul>\n"; 233 239 } else { 234 240 //output one single list using title_li for the title 235 241 $bookmarks = get_bookmarks($r);
