mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user