From 3410a00cb6e403dfa2ac7c63fbb5b6cbb527c986 Mon Sep 17 00:00:00 2001 From: ryan Date: Wed, 2 Jun 2010 14:02:54 +0000 Subject: [PATCH] Pass args to wp_list_categories filter. Props momo360modena. fixes #13682 git-svn-id: http://svn.automattic.com/wordpress/trunk@15107 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/category-template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/category-template.php b/wp-includes/category-template.php index 6177b17cf..18b9cf317 100644 --- a/wp-includes/category-template.php +++ b/wp-includes/category-template.php @@ -521,7 +521,7 @@ function wp_list_categories( $args = '' ) { if ( $title_li && 'list' == $style ) $output .= ''; - $output = apply_filters( 'wp_list_categories', $output ); + $output = apply_filters( 'wp_list_categories', $output, $args ); if ( $echo ) echo $output;