From 94183a25cd3a1999ca4349eadba72f4dddce5e20 Mon Sep 17 00:00:00 2001 From: ryan Date: Mon, 23 Jun 2008 17:21:14 +0000 Subject: [PATCH] widget_links_args filter from ionfish. fixes #7024 git-svn-id: http://svn.automattic.com/wordpress/trunk@8171 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/widgets.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/widgets.php b/wp-includes/widgets.php index f39654706e..fd0bc3d2a2 100644 --- a/wp-includes/widgets.php +++ b/wp-includes/widgets.php @@ -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) {