Ticket #19179: 19179.patch
File 19179.patch, 823 bytes (added by , 12 years ago) |
---|
-
wp-includes/default-widgets.php
103 103 $show_images = isset($instance['images']) ? $instance['images'] : true; 104 104 $category = isset($instance['category']) ? $instance['category'] : false; 105 105 106 if ( is_admin() && !$category ) {107 // Display All Links widget as such in the widgets screen108 echo $before_widget . $before_title . _x('All Links', 'links widget') . $after_title . $after_widget;109 return;110 }111 112 106 $before_widget = preg_replace('/id="[^"]*"/','id="%id"', $before_widget); 113 107 wp_list_bookmarks(apply_filters('widget_links_args', array( 114 108 'title_before' => $before_title, 'title_after' => $after_title,