+<?php endif; // is_taxonomy_hierarchical() ?>
+ <tr class="form-field term-description-wrap">
+ <th scope="row"><label for="description"><?php _e( 'Description' ); ?></label></th>
+ <td><textarea name="description" id="description" rows="5" cols="50" class="large-text"><?php echo $tag->description; // textarea_escaped ?></textarea>
+ <p class="description"><?php _e('The description is not prominent by default; however, some themes may show it.'); ?></p></td>
+ </tr>
+ <?php
+ // Back compat hooks
+ if ( 'category' == $taxonomy ) {
+ /**
+ * Fires after the Edit Category form fields are displayed.
+ *
+ * @since 2.9.0
+ * @deprecated 3.0.0 Use {$taxonomy}_edit_form_fields instead.
+ *
+ * @param object $tag Current category term object.
+ */
+ do_action( 'edit_category_form_fields', $tag );
+ } elseif ( 'link_category' == $taxonomy ) {
+ /**
+ * Fires after the Edit Link Category form fields are displayed.
+ *
+ * @since 2.9.0
+ * @deprecated 3.0.0 Use {$taxonomy}_edit_form_fields instead.
+ *
+ * @param object $tag Current link category term object.
+ */
+ do_action( 'edit_link_category_form_fields', $tag );
+ } else {
+ /**
+ * Fires after the Edit Tag form fields are displayed.
+ *
+ * @since 2.9.0
+ * @deprecated 3.0.0 Use {$taxonomy}_edit_form_fields instead.
+ *
+ * @param object $tag Current tag term object.
+ */
+ do_action( 'edit_tag_form_fields', $tag );
+ }
+ /**
+ * Fires after the Edit Term form fields are displayed.
+ *
+ * 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}_edit_form_fields", $tag, $taxonomy );
+ ?>