diff --git a/wp-admin/edit-tag-form.php b/wp-admin/edit-tag-form.php
index 9d5ceb5..93680f9 100644
a
|
b
|
do_action( "{$taxonomy}_pre_edit_form", $tag, $taxonomy ); ?> |
81 | 81 | <?php wp_original_referer_field(true, 'previous'); wp_nonce_field('update-tag_' . $tag_ID); ?> |
82 | 82 | <table class="form-table"> |
83 | 83 | <tr class="form-field form-required"> |
84 | | <th scope="row"><label for="name"><?php _ex('Name', 'Taxonomy Name'); ?></label></th> |
| 84 | <th scope="row"><label for="name"><?php _ex('Name', 'term name'); ?></label></th> |
85 | 85 | <td><input name="name" id="name" type="text" value="<?php if ( isset( $tag->name ) ) echo esc_attr($tag->name); ?>" size="40" aria-required="true" /> |
86 | 86 | <p class="description"><?php _e('The name is how it appears on your site.'); ?></p></td> |
87 | 87 | </tr> |
88 | 88 | <?php if ( !global_terms_enabled() ) { ?> |
89 | 89 | <tr class="form-field"> |
90 | | <th scope="row"><label for="slug"><?php _ex('Slug', 'Taxonomy Slug'); ?></label></th> |
| 90 | <th scope="row"><label for="slug"><?php _ex('Slug'); ?></label></th> |
91 | 91 | <?php |
92 | 92 | /** |
93 | 93 | * Filter the editable term slug. |
… |
… |
do_action( "{$taxonomy}_pre_edit_form", $tag, $taxonomy ); ?> |
103 | 103 | <?php } ?> |
104 | 104 | <?php if ( is_taxonomy_hierarchical($taxonomy) ) : ?> |
105 | 105 | <tr class="form-field"> |
106 | | <th scope="row"><label for="parent"><?php _ex('Parent', 'Taxonomy Parent'); ?></label></th> |
| 106 | <th scope="row"><label for="parent"><?php _ex('Parent'); ?></label></th> |
107 | 107 | <td> |
108 | 108 | <?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'))); ?> |
109 | 109 | <?php if ( 'category' == $taxonomy ) : ?> |
… |
… |
do_action( "{$taxonomy}_pre_edit_form", $tag, $taxonomy ); ?> |
113 | 113 | </tr> |
114 | 114 | <?php endif; // is_taxonomy_hierarchical() ?> |
115 | 115 | <tr class="form-field"> |
116 | | <th scope="row"><label for="description"><?php _ex('Description', 'Taxonomy Description'); ?></label></th> |
| 116 | <th scope="row"><label for="description"><?php _ex('Description'); ?></label></th> |
117 | 117 | <td><textarea name="description" id="description" rows="5" cols="50" class="large-text"><?php echo $tag->description; // textarea_escaped ?></textarea><br /> |
118 | 118 | <span class="description"><?php _e('The description is not prominent by default; however, some themes may show it.'); ?></span></td> |
119 | 119 | </tr> |
diff --git a/wp-admin/edit-tags.php b/wp-admin/edit-tags.php
index 6c5ace0..a1355c4 100644
a
|
b
|
if ( current_user_can($tax->cap->edit_terms) ) { |
448 | 448 | <?php wp_nonce_field('add-tag', '_wpnonce_add-tag'); ?> |
449 | 449 | |
450 | 450 | <div class="form-field form-required"> |
451 | | <label for="tag-name"><?php _ex('Name', 'Taxonomy Name'); ?></label> |
| 451 | <label for="tag-name"><?php _ex('Name', 'term name'); ?></label> |
452 | 452 | <input name="tag-name" id="tag-name" type="text" value="" size="40" aria-required="true" /> |
453 | 453 | <p><?php _e('The name is how it appears on your site.'); ?></p> |
454 | 454 | </div> |
455 | 455 | <?php if ( ! global_terms_enabled() ) : ?> |
456 | 456 | <div class="form-field"> |
457 | | <label for="tag-slug"><?php _ex('Slug', 'Taxonomy Slug'); ?></label> |
| 457 | <label for="tag-slug"><?php _ex('Slug'); ?></label> |
458 | 458 | <input name="slug" id="tag-slug" type="text" value="" size="40" /> |
459 | 459 | <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> |
460 | 460 | </div> |
461 | 461 | <?php endif; // global_terms_enabled() ?> |
462 | 462 | <?php if ( is_taxonomy_hierarchical($taxonomy) ) : ?> |
463 | 463 | <div class="form-field"> |
464 | | <label for="parent"><?php _ex('Parent', 'Taxonomy Parent'); ?></label> |
| 464 | <label for="parent"><?php _ex('Parent'); ?></label> |
465 | 465 | <?php |
466 | 466 | $dropdown_args = array( |
467 | 467 | 'hide_empty' => 0, |
… |
… |
if ( current_user_can($tax->cap->edit_terms) ) { |
501 | 501 | </div> |
502 | 502 | <?php endif; // is_taxonomy_hierarchical() ?> |
503 | 503 | <div class="form-field"> |
504 | | <label for="tag-description"><?php _ex('Description', 'Taxonomy Description'); ?></label> |
| 504 | <label for="tag-description"><?php _ex('Description'); ?></label> |
505 | 505 | <textarea name="description" id="tag-description" rows="5" cols="40"></textarea> |
506 | 506 | <p><?php _e('The description is not prominent by default; however, some themes may show it.'); ?></p> |
507 | 507 | </div> |