From 090c138591f28d35cd70e0325a77cb6b04f729b7 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: http://svn.automattic.com/wordpress/trunk@5153 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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 e7a84805d..be68a33da 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