diff --git a/wp-includes/bookmark-template.php b/wp-includes/bookmark-template.php
index f4a186b64a..865ad68499 100644
--- a/wp-includes/bookmark-template.php
+++ b/wp-includes/bookmark-template.php
@@ -51,7 +51,7 @@
function _walk_bookmarks($bookmarks, $args = '' ) {
$defaults = array(
'show_updated' => 0, 'show_description' => 0,
- 'show_images' => 1, 'show_name' => 1,
+ 'show_images' => 1, 'show_name' => 0,
'before' => '
', 'after' => '', 'between' => "\n",
'show_rating' => 0, 'link_before' => '', 'link_after' => ''
);
@@ -105,10 +105,12 @@ function _walk_bookmarks($bookmarks, $args = '' ) {
$output .= "link_image\" $alt $title />";
else // If it's a relative path
$output .= "link_image\" $alt $title />";
+
+ if ($show_name) $output .= $name;
+ } else {
+ $output .= $name;
}
- if ($show_name) $output .= $name;
-
$output .= $link_after;
$output .= '';
@@ -249,4 +251,4 @@ function wp_list_bookmarks($args = '') {
echo $output;
}
-?>
\ No newline at end of file
+?>