X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/177fd6fefd2e3d5a0ea6591c71d660cabdb3c1a4..88550bc3400cc7c035ff590ecb007c7938041ded:/wp-admin/edit-tag-form.php
diff --git a/wp-admin/edit-tag-form.php b/wp-admin/edit-tag-form.php
index 62a8e2b8..94a26bbd 100644
--- a/wp-admin/edit-tag-form.php
+++ b/wp-admin/edit-tag-form.php
@@ -1,41 +1,208 @@
';
- $action = 'editedtag';
- $nonce_action = 'update-tag_' . $tag_ID;
- do_action('edit_tag_form_pre', $tag);
+/**
+ * Edit tag form for inclusion in administration panels.
+ *
+ * @package WordPress
+ * @subpackage Administration
+ */
+
+// don't load directly
+if ( !defined('ABSPATH') )
+ die('-1');
+
+if ( empty($tag_ID) ) { ?>
+
+';
- $action = 'addtag';
- $nonce_action = 'add-tag';
- do_action('add_tag_form_pre', $tag);
+ /**
+ * Fires before the Edit Tag form.
+ *
+ * @since 2.5.0
+ * @deprecated 3.0.0 Use {$taxonomy}_pre_edit_form instead.
+ *
+ * @param object $tag Current tag term object.
+ */
+ do_action( 'edit_tag_form_pre', $tag );
}
-?>
+/**
+ * Fires before the Edit Term form for all taxonomies.
+ *
+ * The dynamic portion of the hook name, `$taxonomy`, refers to
+ * the taxonomy slug.
+ *
+ * @since 3.0.0
+ *
+ * @param object $tag Current taxonomy term object.
+ * @param string $taxonomy Current $taxonomy slug.
+ */
+do_action( "{$taxonomy}_pre_edit_form", $tag, $taxonomy ); ?>
-
+
labels->edit_item; ?>
-
-
-
-
+
+
+
+
+