1 | diff --git c/wp-admin/edit-tag-form.php w/wp-admin/edit-tag-form.php |
---|
2 | index 9d5ceb5..552cd4c 100644 |
---|
3 | --- c/wp-admin/edit-tag-form.php |
---|
4 | +++ w/wp-admin/edit-tag-form.php |
---|
5 | @@ -80,13 +80,13 @@ do_action( "{$taxonomy}_pre_edit_form", $tag, $taxonomy ); ?> |
---|
6 | <input type="hidden" name="taxonomy" value="<?php echo esc_attr($taxonomy) ?>" /> |
---|
7 | <?php wp_original_referer_field(true, 'previous'); wp_nonce_field('update-tag_' . $tag_ID); ?> |
---|
8 | <table class="form-table"> |
---|
9 | - <tr class="form-field form-required"> |
---|
10 | + <tr class="form-field form-required term-name-wrap"> |
---|
11 | <th scope="row"><label for="name"><?php _ex('Name', 'Taxonomy Name'); ?></label></th> |
---|
12 | <td><input name="name" id="name" type="text" value="<?php if ( isset( $tag->name ) ) echo esc_attr($tag->name); ?>" size="40" aria-required="true" /> |
---|
13 | <p class="description"><?php _e('The name is how it appears on your site.'); ?></p></td> |
---|
14 | </tr> |
---|
15 | <?php if ( !global_terms_enabled() ) { ?> |
---|
16 | - <tr class="form-field"> |
---|
17 | + <tr class="form-field term-slug-wrap"> |
---|
18 | <th scope="row"><label for="slug"><?php _ex('Slug', 'Taxonomy Slug'); ?></label></th> |
---|
19 | <?php |
---|
20 | /** |
---|
21 | @@ -102,7 +102,7 @@ do_action( "{$taxonomy}_pre_edit_form", $tag, $taxonomy ); ?> |
---|
22 | </tr> |
---|
23 | <?php } ?> |
---|
24 | <?php if ( is_taxonomy_hierarchical($taxonomy) ) : ?> |
---|
25 | - <tr class="form-field"> |
---|
26 | + <tr class="form-field term-parent-wrap"> |
---|
27 | <th scope="row"><label for="parent"><?php _ex('Parent', 'Taxonomy Parent'); ?></label></th> |
---|
28 | <td> |
---|
29 | <?php wp_dropdown_categories(array('hide_empty' => 0, 'hide_if_empty' => false, 'name' => 'parent', 'orderby' => 'name', 'taxonomy' => $taxonomy, 'selected' => $tag->parent, 'exclude_tree' => $tag->term_id, 'hierarchical' => true, 'show_option_none' => __('None'))); ?> |
---|
30 | @@ -112,7 +112,7 @@ do_action( "{$taxonomy}_pre_edit_form", $tag, $taxonomy ); ?> |
---|
31 | </td> |
---|
32 | </tr> |
---|
33 | <?php endif; // is_taxonomy_hierarchical() ?> |
---|
34 | - <tr class="form-field"> |
---|
35 | + <tr class="form-field term-description-wrap"> |
---|
36 | <th scope="row"><label for="description"><?php _ex('Description', 'Taxonomy Description'); ?></label></th> |
---|
37 | <td><textarea name="description" id="description" rows="5" cols="50" class="large-text"><?php echo $tag->description; // textarea_escaped ?></textarea><br /> |
---|
38 | <span class="description"><?php _e('The description is not prominent by default; however, some themes may show it.'); ?></span></td> |
---|
39 | diff --git c/wp-admin/edit-tags.php w/wp-admin/edit-tags.php |
---|
40 | index 953f6f4..832fb6e 100644 |
---|
41 | --- c/wp-admin/edit-tags.php |
---|
42 | +++ w/wp-admin/edit-tags.php |
---|
43 | @@ -445,20 +445,20 @@ if ( current_user_can($tax->cap->edit_terms) ) { |
---|
44 | <input type="hidden" name="post_type" value="<?php echo esc_attr($post_type); ?>" /> |
---|
45 | <?php wp_nonce_field('add-tag', '_wpnonce_add-tag'); ?> |
---|
46 | |
---|
47 | -<div class="form-field form-required"> |
---|
48 | +<div class="form-field form-required term-name-wrap"> |
---|
49 | <label for="tag-name"><?php _ex('Name', 'Taxonomy Name'); ?></label> |
---|
50 | <input name="tag-name" id="tag-name" type="text" value="" size="40" aria-required="true" /> |
---|
51 | <p><?php _e('The name is how it appears on your site.'); ?></p> |
---|
52 | </div> |
---|
53 | <?php if ( ! global_terms_enabled() ) : ?> |
---|
54 | -<div class="form-field"> |
---|
55 | +<div class="form-field term-slug-wrap"> |
---|
56 | <label for="tag-slug"><?php _ex('Slug', 'Taxonomy Slug'); ?></label> |
---|
57 | <input name="slug" id="tag-slug" type="text" value="" size="40" /> |
---|
58 | <p><?php _e('The “slug” is the URL-friendly version of the name. It is usually all lowercase and contains only letters, numbers, and hyphens.'); ?></p> |
---|
59 | </div> |
---|
60 | <?php endif; // global_terms_enabled() ?> |
---|
61 | <?php if ( is_taxonomy_hierarchical($taxonomy) ) : ?> |
---|
62 | -<div class="form-field"> |
---|
63 | +<div class="form-field term-parent-wrap"> |
---|
64 | <label for="parent"><?php _ex('Parent', 'Taxonomy Parent'); ?></label> |
---|
65 | <?php |
---|
66 | $dropdown_args = array( |
---|
67 | @@ -498,7 +498,7 @@ if ( current_user_can($tax->cap->edit_terms) ) { |
---|
68 | <?php endif; ?> |
---|
69 | </div> |
---|
70 | <?php endif; // is_taxonomy_hierarchical() ?> |
---|
71 | -<div class="form-field"> |
---|
72 | +<div class="form-field term-description-wrap"> |
---|
73 | <label for="tag-description"><?php _ex('Description', 'Taxonomy Description'); ?></label> |
---|
74 | <textarea name="description" id="tag-description" rows="5" cols="40"></textarea> |
---|
75 | <p><?php _e('The description is not prominent by default; however, some themes may show it.'); ?></p> |
---|