Ticket #4954: 4954.diff
| File 4954.diff, 1.1 KB (added by , 18 years ago) |
|---|
-
wp-includes/bookmark-template.php
181 181 continue; 182 182 $output .= str_replace(array('%id', '%class'), array("linkcat-$cat->term_id", $class), $category_before); 183 183 $catname = apply_filters( "link_category", $cat->name ); 184 $output .= "$title_before$catname$title_after\n\t<ul >\n";184 $output .= "$title_before$catname$title_after\n\t<ul class='xoxo blogroll'>\n"; 185 185 $output .= _walk_bookmarks($bookmarks, $r); 186 186 $output .= "\n\t</ul>\n$category_after\n"; 187 187 } … … 192 192 if ( !empty($bookmarks) ) { 193 193 if ( !empty( $title_li ) ){ 194 194 $output .= str_replace(array('%id', '%class'), array("linkcat-$category", $class), $category_before); 195 $output .= "$title_before$title_li$title_after\n\t<ul >\n";195 $output .= "$title_before$title_li$title_after\n\t<ul class='xoxo blogroll'>\n"; 196 196 $output .= _walk_bookmarks($bookmarks, $r); 197 197 $output .= "\n\t</ul>\n$category_after\n"; 198 198 } else {