From 2a8de5229bc3f13d9e9ed0e0aa27c6fe820fcd46 Mon Sep 17 00:00:00 2001 From: ryan Date: Mon, 10 Jul 2006 16:11:43 +0000 Subject: [PATCH] get_category filter form majelbstoat. fixes #2466 git-svn-id: http://svn.automattic.com/wordpress/trunk@4007 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/category.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wp-includes/category.php b/wp-includes/category.php index fb0ec8749..d70b4406d 100644 --- a/wp-includes/category.php +++ b/wp-includes/category.php @@ -115,6 +115,8 @@ function &get_category(&$category, $output = OBJECT) { } } + $_category = apply_filters('get_category', $_category); + if ( $output == OBJECT ) { return $_category; } elseif ( $output == ARRAY_A ) {