Add link rating to wp_list_bookmarks(). fixes #3916
git-svn-id: http://svn.automattic.com/wordpress/trunk@5153 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
f91c1016ef
commit
090c138591
|
@ -137,6 +137,10 @@ function get_links($category = -1,
|
|||
if ( $show_description && '' != $desc )
|
||||
$output .= $between . $desc;
|
||||
|
||||
if ($show_rating) {
|
||||
$output .= $between . get_linkrating($row);
|
||||
}
|
||||
|
||||
$output .= "$after\n";
|
||||
} // end while
|
||||
|
||||
|
@ -304,6 +308,11 @@ function _walk_bookmarks($bookmarks, $args = '' ) {
|
|||
|
||||
if ( $show_description && '' != $desc )
|
||||
$output .= $between . $desc;
|
||||
|
||||
if ($show_rating) {
|
||||
$output .= $between . get_linkrating($bookmark);
|
||||
}
|
||||
|
||||
$output .= "$after\n";
|
||||
} // end while
|
||||
|
||||
|
|
Loading…
Reference in New Issue