Make WordPress Core


Ignore:
Timestamp:
08/27/2007 11:31:09 PM (14 years ago)
Author:
ryan
Message:

Add clean_url filter. see #4570

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/taxonomy.php

    r5938 r5952  
    10551055
    10561056function _get_term_hierarchy($taxonomy) {
    1057     // TODO Make sure taxonomy is hierarchical
     1057    if ( !is_taxonomy_hierarchical($taxonomy) )
     1058        return array();
    10581059    $children = get_option("{$taxonomy}_children");
    10591060    if ( is_array($children) )
Note: See TracChangeset for help on using the changeset viewer.