Remove dead code. Fixed #4791 props filosofo

git-svn-id: https://develop.svn.wordpress.org/trunk@5970 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Peter Westwood 2007-08-29 17:36:46 +00:00
parent c0e6a44fdf
commit 84b76f6832
1 changed files with 5 additions and 11 deletions

View File

@ -388,18 +388,12 @@ function wp_widget_pages_control() {
}
function wp_widget_links($args) {
global $wp_db_version;
extract($args, EXTR_SKIP);
if ( $wp_db_version < 3582 ) {
// This ONLY works with li/h2 sidebars.
get_links_list();
} else {
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'
));
}
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'
));
}
function wp_widget_search($args) {