From d120bbcfff982083083d44a07b9d71310295166b Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Mon, 10 Jul 2006 16:11:43 +0000 Subject: [PATCH] get_category filter form majelbstoat. fixes #2466 git-svn-id: https://develop.svn.wordpress.org/trunk@4007 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/category.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wp-includes/category.php b/wp-includes/category.php index fb0ec87490..d70b4406da 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 ) {