Make WordPress Core


Ignore:
Timestamp:
08/29/2007 05:36:46 PM (17 years ago)
Author:
westi
Message:

Remove dead code. Fixed #4791 props filosofo

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/widgets.php

    r5968 r5970  
    389389
    390390function wp_widget_links($args) {
    391     global $wp_db_version;
    392391    extract($args, EXTR_SKIP);
    393     if ( $wp_db_version < 3582 ) {
    394         // This ONLY works with li/h2 sidebars.
    395         get_links_list();
    396     } else {
    397         wp_list_bookmarks(array(
    398             'title_before' => $before_title, 'title_after' => $after_title,
    399             'category_before' => $before_widget, 'category_after' => $after_widget,
    400             'show_images' => true, 'class' => 'linkcat widget'
    401         ));
    402     }
     392    wp_list_bookmarks(array(
     393        'title_before' => $before_title, 'title_after' => $after_title,
     394        'category_before' => $before_widget, 'category_after' => $after_widget,
     395        'show_images' => true, 'class' => 'linkcat widget'
     396    ));
    403397}
    404398
Note: See TracChangeset for help on using the changeset viewer.