Ticket #4954: xoxo-microformat.diff
File xoxo-microformat.diff, 1.1 KB (added by , 16 years ago) |
---|
-
wp-includes/bookmark-template.php
342 342 continue; 343 343 $output .= str_replace(array('%id', '%class'), array("linkcat-$cat->term_id", $class), $category_before); 344 344 $catname = apply_filters( "link_category", $cat->name ); 345 $output .= "$title_before$catname$title_after\n\t<ul >\n";345 $output .= "$title_before$catname$title_after\n\t<ul class='xoxo blogroll'>\n"; 346 346 $output .= _walk_bookmarks($bookmarks, $r); 347 347 $output .= "\n\t</ul>\n$category_after\n"; 348 348 } … … 353 353 if ( !empty($bookmarks) ) { 354 354 if ( !empty( $title_li ) ){ 355 355 $output .= str_replace(array('%id', '%class'), array("linkcat-$category", $class), $category_before); 356 $output .= "$title_before$title_li$title_after\n\t<ul >\n";356 $output .= "$title_before$title_li$title_after\n\t<ul class='xoxo blogroll'>\n"; 357 357 $output .= _walk_bookmarks($bookmarks, $r); 358 358 $output .= "\n\t</ul>\n$category_after\n"; 359 359 } else {