Ticket #18166: filter.diff
| File filter.diff, 1.1 KB (added by leewillis77, 22 months ago) |
|---|
-
edit-tags.php
old new 345 345 <?php if ( is_taxonomy_hierarchical($taxonomy) ) : ?> 346 346 <div class="form-field"> 347 347 <label for="parent"><?php _ex('Parent', 'Taxonomy Parent'); ?></label> 348 <?php wp_dropdown_categories( array('hide_empty' => 0, 'hide_if_empty' => false, 'taxonomy' => $taxonomy, 'name' => 'parent', 'orderby' => 'name', 'hierarchical' => true, 'show_option_none' => __('None'))); ?>348 <?php wp_dropdown_categories( apply_filters ( 'taxonomy_dropdown_args', $taxonomy, array( 'hide_empty' => 0, 'hide_if_empty' => false, 'taxonomy' => $taxonomy, 'name' => 'parent', 'orderby' => 'name', 'hierarchical' => true, 'show_option_none' => __('None')))); ?> 349 349 <?php if ( 'category' == $taxonomy ) : // @todo: Generic text for hierarchical taxonomies ?> 350 350 <p><?php _e('Categories, unlike tags, can have a hierarchy. You might have a Jazz category, and under that have children categories for Bebop and Big Band. Totally optional.'); ?></p> 351 351 <?php endif; ?>
