| 1 | Index: wp-admin/edit-tags.php |
|---|
| 2 | =================================================================== |
|---|
| 3 | --- wp-admin/edit-tags.php (revision 18444) |
|---|
| 4 | +++ wp-admin/edit-tags.php (working copy) |
|---|
| 5 | @@ -345,7 +345,7 @@ |
|---|
| 6 | <?php if ( is_taxonomy_hierarchical($taxonomy) ) : ?> |
|---|
| 7 | <div class="form-field"> |
|---|
| 8 | <label for="parent"><?php _ex('Parent', 'Taxonomy Parent'); ?></label> |
|---|
| 9 | - <?php wp_dropdown_categories(array('hide_empty' => 0, 'hide_if_empty' => false, 'taxonomy' => $taxonomy, 'name' => 'parent', 'orderby' => 'name', 'hierarchical' => true, 'show_option_none' => __('None'))); ?> |
|---|
| 10 | + <?php wp_dropdown_categories( apply_filters ( 'taxonomy_dropdown_args', array( 'hide_empty' => 0, 'hide_if_empty' => false, 'taxonomy' => $taxonomy, 'name' => 'parent', 'orderby' => 'name', 'hierarchical' => true, 'show_option_none' => __('None')), $taxonomy)); ?> |
|---|
| 11 | <?php if ( 'category' == $taxonomy ) : // @todo: Generic text for hierarchical taxonomies ?> |
|---|
| 12 | <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> |
|---|
| 13 | <?php endif; ?> |
|---|