mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-05 02:10:45 +01:00
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:
parent
6515a4d959
commit
fcb186c059
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user