Add link rating to wp_list_bookmarks(). fixes #3916
git-svn-id: https://develop.svn.wordpress.org/trunk@5153 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
fa0b7d4690
commit
5a4c2c68ad
@ -136,6 +136,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
Block a user