mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user