widget_links_args filter from ionfish. fixes #7024
git-svn-id: http://svn.automattic.com/wordpress/trunk@8171 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
9e951d1505
commit
94183a25cd
|
@ -452,11 +452,11 @@ function wp_widget_links($args) {
|
|||
extract($args, EXTR_SKIP);
|
||||
|
||||
$before_widget = preg_replace('/id="[^"]*"/','id="%id"', $before_widget);
|
||||
wp_list_bookmarks(array(
|
||||
wp_list_bookmarks(apply_filters('widget_links_args', 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