X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/fa11948979fd6a4ea5705dc613b239699a459db3..3d39054f012aefe514b3f5509e32f09fc4feda44:/wp-admin/edit-tag-form.php
diff --git a/wp-admin/edit-tag-form.php b/wp-admin/edit-tag-form.php
index b8f41253..7d218dd5 100644
--- a/wp-admin/edit-tag-form.php
+++ b/wp-admin/edit-tag-form.php
@@ -7,90 +7,266 @@
*/
// don't load directly
-if ( !defined('ABSPATH') )
- die('-1');
-
-if ( empty($tag_ID) ) { ?>
-
-
+$wp_http_referer = remove_query_arg( array( 'action', 'message', 'tag_ID' ), $wp_http_referer );
+
+/** Also used by Edit Tags */
+require_once( ABSPATH . 'wp-admin/includes/edit-tag-messages.php' );
+
+/**
+ * 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; ?>
+
labels->edit_item; ?>
+
+
+
+
+
-
+
+
+