get_category filter form majelbstoat. fixes #2466

git-svn-id: http://svn.automattic.com/wordpress/trunk@4007 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2006-07-10 16:11:43 +00:00
parent 4e5380a24a
commit 2a8de5229b
1 changed files with 2 additions and 0 deletions

View File

@ -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 ) {