Convert category queries and list cats to taxonomy. see #4189

git-svn-id: https://develop.svn.wordpress.org/trunk@5530 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2007-05-23 18:59:12 +00:00
parent 2b134cc1f7
commit 3261234a0d
4 changed files with 35 additions and 35 deletions

View File

@@ -5,10 +5,10 @@ function get_category_children($id, $before = '/', $after = '') {
return '';
$chain = '';
// TODO: consult hierarchy
$cat_ids = get_all_category_ids();
foreach ( $cat_ids as $cat_id ) {
if ( $cat_id == $id)
if ( $cat_id == $id )
continue;
$category = get_category($cat_id);