From f8500292806a74959d8612f5ac0adac87ca68c3e Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Wed, 13 Oct 2010 20:15:04 +0000 Subject: [PATCH] Don't show a term's descendants in the parent selector. Props mdawaffe. fixes #14663 git-svn-id: https://develop.svn.wordpress.org/trunk@15798 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/edit-tag-form.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/edit-tag-form.php b/wp-admin/edit-tag-form.php index 56674de00d..c219747d1e 100644 --- a/wp-admin/edit-tag-form.php +++ b/wp-admin/edit-tag-form.php @@ -48,7 +48,7 @@ do_action($taxonomy . '_pre_edit_form', $tag, $taxonomy); ?> - 0, 'hide_if_empty' => false, 'name' => 'parent', 'orderby' => 'name', 'taxonomy' => $taxonomy, 'selected' => $tag->parent, 'exclude' => $tag->term_id, 'hierarchical' => true, 'show_option_none' => __('None'))); ?>
+ 0, 'hide_if_empty' => false, 'name' => 'parent', 'orderby' => 'name', 'taxonomy' => $taxonomy, 'selected' => $tag->parent, 'exclude_tree' => $tag->term_id, 'hierarchical' => true, 'show_option_none' => __('None'))); ?>