widget_links_args filter from ionfish. fixes #7024
git-svn-id: https://develop.svn.wordpress.org/trunk@8171 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
5757d74348
commit
120044cec3
@ -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
Block a user