Changeset 30141 for trunk/src/wp-admin/includes/ajax-actions.php
- Timestamp:
- 11/01/2014 02:57:31 AM (11 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-admin/includes/ajax-actions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/ajax-actions.php
r30055 r30141 789 789 $level = 0; 790 790 if ( is_taxonomy_hierarchical($taxonomy) ) { 791 $level = count( get_ancestors( $tag->term_id, $taxonomy ) );791 $level = count( get_ancestors( $tag->term_id, $taxonomy, 'taxonomy' ) ); 792 792 ob_start(); 793 793 $wp_list_table->single_row( $tag, $level );
Note: See TracChangeset
for help on using the changeset viewer.