WordPress.org

Make WordPress Core

Changeset 5317


Ignore:
Timestamp:
04/26/07 03:43:59 (7 years ago)
Author:
rob1n
Message:

Links widget fixes from Otto42. see #4169

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/wp-includes/widgets.php

    r5316 r5317  
    309309        get_links_list(); 
    310310    } else { 
    311         wp_list_bookmarks(array('title_before'=>$before_title, 'title_after'=>$after_title, 'show_images'=>true, 'class'=>'linkcat widget')); 
     311        wp_list_bookmarks(array( 
     312            'title_before' => $before_title, 'title_after' => $after_title,  
     313            'category_before' => $before_widget, 'category_after' => $after_widget,  
     314            'show_images' => true, 'class' => 'linkcat widget' 
     315        )); 
    312316    } 
    313317} 
  • trunk/wp-includes/widgets.php

    r5316 r5317  
    309309        get_links_list(); 
    310310    } else { 
    311         wp_list_bookmarks(array('title_before'=>$before_title, 'title_after'=>$after_title, 'show_images'=>true, 'class'=>'linkcat widget')); 
     311        wp_list_bookmarks(array( 
     312            'title_before' => $before_title, 'title_after' => $after_title,  
     313            'category_before' => $before_widget, 'category_after' => $after_widget,  
     314            'show_images' => true, 'class' => 'linkcat widget' 
     315        )); 
    312316    } 
    313317} 
Note: See TracChangeset for help on using the changeset viewer.