diff -r 34716fd837a4 -r be944660c56a wp/wp-admin/edit-tag-form.php --- a/wp/wp-admin/edit-tag-form.php Tue Dec 15 15:52:01 2020 +0100 +++ b/wp/wp-admin/edit-tag-form.php Wed Sep 21 18:19:35 2022 +0200 @@ -51,7 +51,7 @@ $wp_http_referer = remove_query_arg( array( 'action', 'message', 'tag_ID' ), $wp_http_referer ); -/** Also used by Edit Tags */ +// Also used by Edit Tags. require_once ABSPATH . 'wp-admin/includes/edit-tag-messages.php'; /** @@ -60,6 +60,11 @@ * The dynamic portion of the hook name, `$taxonomy`, refers to * the taxonomy slug. * + * Possible hook names include: + * + * - `category_pre_edit_form` + * - `post_tag_pre_edit_form` + * * @since 3.0.0 * * @param WP_Term $tag Current taxonomy term object. @@ -96,14 +101,19 @@ * * The dynamic portion of the hook name, `$taxonomy`, refers to the taxonomy slug. * + * Possible hook names include: + * + * - `category_term_edit_form_tag` + * - `post_tag_term_edit_form_tag` + * * @since 3.7.0 */ do_action( "{$taxonomy}_term_edit_form_tag" ); ?> > - - - + + + slug ) ? apply_filters( 'editable_slug', $tag->slug, $tag ) : ''; ?> @@ -229,6 +244,11 @@ * The dynamic portion of the hook name, `$taxonomy`, refers to * the taxonomy slug. * + * Possible hook names include: + * + * - `category_edit_form_fields` + * - `post_tag_edit_form_fields` + * * @since 3.0.0 * * @param WP_Term $tag Current taxonomy term object. @@ -261,6 +281,11 @@ * * The dynamic portion of the hook name, `$taxonomy`, refers to the taxonomy slug. * + * Possible hook names include: + * + * - `category_edit_form` + * - `post_tag_edit_form` + * * @since 3.0.0 * * @param WP_Term $tag Current taxonomy term object. @@ -275,7 +300,7 @@ term_id ) ) : ?> - term_id", 'delete-tag_' . $tag->term_id ) ); ?>"> + term_id", 'delete-tag_' . $tag->term_id ) ) ); ?>">