From def9d039f46ce87cf63101cd59bdbf2e3ad16274 Mon Sep 17 00:00:00 2001 From: Matt Mullenweg Date: Tue, 30 Aug 2005 23:25:34 +0000 Subject: [PATCH] Fixes #1186 for 1.6 git-svn-id: https://develop.svn.wordpress.org/trunk@2831 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/template-functions-category.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wp-includes/template-functions-category.php b/wp-includes/template-functions-category.php index d1d4fb8c40..bb934f0c90 100644 --- a/wp-includes/template-functions-category.php +++ b/wp-includes/template-functions-category.php @@ -262,6 +262,8 @@ function list_cats($optionall = 1, $all = 'All', $sort_column = 'ID', $sort_orde } } + $exclusions = apply_filters('list_cats_exclusions', $exclusions ); + if (intval($categories)==0){ $sort_column = 'cat_'.$sort_column;