mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-30 23:30:05 +00:00
Add xoxo microformat markup to the blogroll. Fixes #4954 props Otto42.
git-svn-id: https://develop.svn.wordpress.org/trunk@8132 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -212,7 +212,7 @@ function wp_list_bookmarks($args = '') {
|
||||
continue;
|
||||
$output .= str_replace(array('%id', '%class'), array("linkcat-$cat->term_id", $class), $category_before);
|
||||
$catname = apply_filters( "link_category", $cat->name );
|
||||
$output .= "$title_before$catname$title_after\n\t<ul>\n";
|
||||
$output .= "$title_before$catname$title_after\n\t<ul class='xoxo blogroll'>\n";
|
||||
$output .= _walk_bookmarks($bookmarks, $r);
|
||||
$output .= "\n\t</ul>\n$category_after\n";
|
||||
}
|
||||
@@ -223,7 +223,7 @@ function wp_list_bookmarks($args = '') {
|
||||
if ( !empty($bookmarks) ) {
|
||||
if ( !empty( $title_li ) ){
|
||||
$output .= str_replace(array('%id', '%class'), array("linkcat-$category", $class), $category_before);
|
||||
$output .= "$title_before$title_li$title_after\n\t<ul>\n";
|
||||
$output .= "$title_before$title_li$title_after\n\t<ul class='xoxo blogroll'>\n";
|
||||
$output .= _walk_bookmarks($bookmarks, $r);
|
||||
$output .= "\n\t</ul>\n$category_after\n";
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user