From 85902939a7137c55af168492f9bfea7099be5b5c Mon Sep 17 00:00:00 2001
From: rob1n <rob1n@1a063a9b-81f0-0310-95a4-ce76da25c4cd>
Date: Thu, 26 Apr 2007 03:43:59 +0000
Subject: [PATCH] Links widget fixes from Otto42. see #4169

git-svn-id: http://svn.automattic.com/wordpress/trunk@5317 1a063a9b-81f0-0310-95a4-ce76da25c4cd
---
 wp-includes/widgets.php | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/wp-includes/widgets.php b/wp-includes/widgets.php
index 54d50d4ea2..78cb3d200a 100644
--- a/wp-includes/widgets.php
+++ b/wp-includes/widgets.php
@@ -308,7 +308,11 @@ function wp_widget_links($args) {
 		// This ONLY works with li/h2 sidebars.
 		get_links_list();
 	} else {
-		wp_list_bookmarks(array('title_before'=>$before_title, 'title_after'=>$after_title, 'show_images'=>true, 'class'=>'linkcat widget'));
+		wp_list_bookmarks(array(
+			'title_before' => $before_title, 'title_after' => $after_title, 
+			'category_before' => $before_widget, 'category_after' => $after_widget, 
+			'show_images' => true, 'class' => 'linkcat widget'
+		));
 	}
 }