diff -r 346c88efed21 -r 5e2f62d02dcd wp/wp-admin/edit-tag-form.php
--- a/wp/wp-admin/edit-tag-form.php Mon Jun 08 16:11:51 2015 +0000
+++ b/wp/wp-admin/edit-tag-form.php Tue Jun 09 03:35:32 2015 +0200
@@ -11,86 +11,218 @@
die('-1');
if ( empty($tag_ID) ) { ?>
-
+
+if ( 'category' == $taxonomy ) {
+ /**
+ * Fires before the Edit Category form.
+ *
+ * @since 2.1.0
+ * @deprecated 3.0.0 Use {$taxonomy}_pre_edit_form instead.
+ *
+ * @param object $tag Current category term object.
+ */
+ do_action( 'edit_category_form_pre', $tag );
+} elseif ( 'link_category' == $taxonomy ) {
+ /**
+ * Fires before the Edit Link Category form.
+ *
+ * @since 2.3.0
+ * @deprecated 3.0.0 Use {$taxonomy}_pre_edit_form instead.
+ *
+ * @param object $tag Current link category term object.
+ */
+ do_action( 'edit_link_category_form_pre', $tag );
+} else {
+ /**
+ * 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; ?>
-
+
+
+