Links widget fixes from Otto42. see #4169

git-svn-id: http://svn.automattic.com/wordpress/trunk@5317 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
rob1n 2007-04-26 03:43:59 +00:00
parent 309491de6d
commit 85902939a7

View File

@ -308,7 +308,11 @@ function wp_widget_links($args) {
// This ONLY works with li/h2 sidebars. // This ONLY works with li/h2 sidebars.
get_links_list(); get_links_list();
} else { } 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'
));
} }
} }