WordPress.org

Make WordPress Core

Changeset 8132


Ignore:
Timestamp:
06/20/08 13:54:23 (9 years ago)
Author:
westi
Message:

Add xoxo microformat markup to the blogroll. Fixes #4954 props Otto42.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/bookmark-template.php

    r8104 r8132  
    213213            $output .= str_replace(array('%id', '%class'), array("linkcat-$cat->term_id", $class), $category_before); 
    214214            $catname = apply_filters( "link_category", $cat->name ); 
    215             $output .= "$title_before$catname$title_after\n\t<ul>\n"; 
     215            $output .= "$title_before$catname$title_after\n\t<ul class='xoxo blogroll'>\n"; 
    216216            $output .= _walk_bookmarks($bookmarks, $r); 
    217217            $output .= "\n\t</ul>\n$category_after\n"; 
     
    224224            if ( !empty( $title_li ) ){ 
    225225                $output .= str_replace(array('%id', '%class'), array("linkcat-$category", $class), $category_before); 
    226                 $output .= "$title_before$title_li$title_after\n\t<ul>\n"; 
     226                $output .= "$title_before$title_li$title_after\n\t<ul class='xoxo blogroll'>\n"; 
    227227                $output .= _walk_bookmarks($bookmarks, $r); 
    228228                $output .= "\n\t</ul>\n$category_after\n"; 
Note: See TracChangeset for help on using the changeset viewer.