mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-01 21:21:24 +01:00
Add xoxo microformat markup to the blogroll. Fixes #4954 props Otto42.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8132 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
e3b575b617
commit
829ac35bbe
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user