From 5a4c2c68ad26a605df1c647d7789826625f0dffe Mon Sep 17 00:00:00 2001 From: rob1n Date: Sat, 31 Mar 2007 19:43:49 +0000 Subject: [PATCH] Add link rating to wp_list_bookmarks(). fixes #3916 git-svn-id: https://develop.svn.wordpress.org/trunk@5153 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/bookmark-template.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/wp-includes/bookmark-template.php b/wp-includes/bookmark-template.php index e7a84805d0..be68a33da8 100644 --- a/wp-includes/bookmark-template.php +++ b/wp-includes/bookmark-template.php @@ -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