X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/f9001779751f83dc8a10e478bfecb4d8dd5f964c..256a3b381f63716209b3527d0a14442ae570c283:/wp-admin/edit-tag-form.php diff --git a/wp-admin/edit-tag-form.php b/wp-admin/edit-tag-form.php index daac9237..f021b2a3 100644 --- a/wp-admin/edit-tag-form.php +++ b/wp-admin/edit-tag-form.php @@ -17,20 +17,19 @@ if ( empty($tag_ID) ) { ?> } // Back compat hooks -if ( 'category' == $taxonomy ) - do_action('edit_category_form_pre', $tag ); -elseif ( 'link_category' == $taxonomy ) - do_action('edit_link_category_form_pre', $tag ); -else - do_action('edit_tag_form_pre', $tag); - -do_action($taxonomy . '_pre_edit_form', $tag, $taxonomy); ?> +if ( 'category' == $taxonomy ) { + do_action( 'edit_category_form_pre', $tag ); +} elseif ( 'link_category' == $taxonomy ) { + do_action( 'edit_link_category_form_pre', $tag ); +} else { + do_action( 'edit_tag_form_pre', $tag ); +} +do_action( "{$taxonomy}_pre_edit_form", $tag, $taxonomy ); ?>
-

labels->edit_item; ?>

-
+> @@ -52,23 +51,23 @@ do_action($taxonomy . '_pre_edit_form', $tag, $taxonomy); ?> - 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, 'name' => 'parent', 'orderby' => 'name', 'taxonomy' => $taxonomy, 'selected' => $tag->parent, 'exclude_tree' => $tag->term_id, 'hierarchical' => true, 'show_option_none' => __('None'))); ?> - +

-
- +
+ // Back compat hooks if ( 'category' == $taxonomy ) do_action('edit_category_form', $tag); -if ( 'link_category' == $taxonomy ) +elseif ( 'link_category' == $taxonomy ) do_action('edit_link_category_form', $tag); else do_action('edit_tag_form', $tag); @@ -91,3 +90,6 @@ submit_button( __('Update') ); ?>
+