diff --git a/wp-includes/widgets.php b/wp-includes/widgets.php index fba00f2a33..ae82078ae6 100644 --- a/wp-includes/widgets.php +++ b/wp-includes/widgets.php @@ -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) {