From 963744d3d3acf055a086084d508c89d45f76bba2 Mon Sep 17 00:00:00 2001 From: ryan 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: http://svn.automattic.com/wordpress/trunk@15798 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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'))); ?>