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:
parent
309491de6d
commit
85902939a7
|
@ -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'
|
||||
));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue