From cf4521e4412584e5d6db8334f9adab4c581a43f4 Mon Sep 17 00:00:00 2001 From: Ryan Boren 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: https://develop.svn.wordpress.org/trunk@15107 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 6177b17cf9..18b9cf317c 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;