X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/41578db67d72562346e4dbb2a14889b23d522813..7f1521bf193b382565eb753043c161f4cb3fcda7:/wp-admin/edit-tag-form.php diff --git a/wp-admin/edit-tag-form.php b/wp-admin/edit-tag-form.php index 9d5ceb55..7e2d9377 100644 --- a/wp-admin/edit-tag-form.php +++ b/wp-admin/edit-tag-form.php @@ -11,7 +11,7 @@ if ( !defined('ABSPATH') ) die('-1'); if ( empty($tag_ID) ) { ?> -

+

labels->edit_item; ?>

+
-> +do_action( "{$taxonomy}_term_edit_form_tag" ); +?>> - - + + - - + + slug ) ? apply_filters( 'editable_slug', $tag->slug ) : ''; ?> - - - + + - - - + + + /** * Fires after the Edit Term form fields are displayed. * - * The dynamic portion of the hook name, $taxonomy, refers to + * The dynamic portion of the hook name, `$taxonomy`, refers to * the taxonomy slug. * * @since 3.0.0 @@ -186,7 +207,7 @@ if ( 'category' == $taxonomy ) { /** * Fires at the end of the Edit Term form for all taxonomies. * - * The dynamic portion of the hook name, $taxonomy, refers to the taxonomy slug. + * The dynamic portion of the hook name, `$taxonomy`, refers to the taxonomy slug. * * @since 3.0.0 * @@ -199,6 +220,9 @@ submit_button( __('Update') ); ?> + + +

+

- 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'))); ?> + 0, + 'hide_if_empty' => false, + 'taxonomy' => $taxonomy, + 'name' => 'parent', + 'orderby' => 'name', + 'selected' => $tag->parent, + 'exclude_tree' => $tag->term_id, + 'hierarchical' => true, + 'show_option_none' => __( 'None' ), + ); + + /** This filter is documented in wp-admin/edit-tags.php */ + $dropdown_args = apply_filters( 'taxonomy_parent_dropdown_args', $dropdown_args, $taxonomy, 'edit' ); + wp_dropdown_categories( $dropdown_args ); ?>


-
+