Ticket #8350: 8350.diff
File 8350.diff, 422 bytes (added by , 15 years ago) |
---|
-
wp-includes/taxonomy.php
2078 2078 global $wpdb; 2079 2079 2080 2080 // This function only works for post categories. 2081 if ( 'category' != $taxonomy)2081 if ( !is_taxonomy_hierarchical( $taxonomy ) ) 2082 2082 return; 2083 2083 2084 2084 $term_hier = _get_term_hierarchy($taxonomy);