get_category filter form majelbstoat. fixes #2466

git-svn-id: http://svn.automattic.com/wordpress/branches/2.0@4008 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2006-07-10 16:13:04 +00:00
parent 6515a4d959
commit fcb186c059

View File

@ -748,6 +748,8 @@ function &get_category(&$category, $output = OBJECT) {
}
}
$_category = apply_filters('get_category', $_category);
if ( !isset($_category->fullpath) ) {
$_category = set_category_path($_category);
wp_cache_replace($_category->cat_ID, $_category, 'category');