Ticket #20788: 20788.patch
File 20788.patch, 965 bytes (added by , 13 years ago) |
---|
-
wp-includes/default-widgets.php
107 107 $limit = isset( $instance['limit'] ) ? $instance['limit'] : -1; 108 108 109 109 $before_widget = preg_replace('/id="[^"]*"/','id="%id"', $before_widget); 110 wp_list_bookmarks( apply_filters('widget_links_args', array(110 wp_list_bookmarks( apply_filters( 'widget_links_args', array( 111 111 'title_before' => $before_title, 'title_after' => $after_title, 112 112 'category_before' => $before_widget, 'category_after' => $after_widget, 113 113 'show_images' => $show_images, 'show_description' => $show_description, … … 115 115 'category' => $category, 'class' => 'linkcat widget', 116 116 'orderby' => $orderby, 'order' => $order, 117 117 'limit' => $limit, 118 ) ));118 ), $instance ) ); 119 119 } 120 120 121 121 function update( $new_instance, $old_instance ) {