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:
parent
c0e6a44fdf
commit
84b76f6832
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user