Changeset 29803
- Timestamp:
- 10/02/2014 12:28:45 AM (10 years ago)
- Location:
- trunk/src/wp-admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/edit-tag-form.php
r27029 r29803 81 81 <?php wp_original_referer_field(true, 'previous'); wp_nonce_field('update-tag_' . $tag_ID); ?> 82 82 <table class="form-table"> 83 <tr class="form-field form-required ">83 <tr class="form-field form-required term-name-wrap"> 84 84 <th scope="row"><label for="name"><?php _ex('Name', 'Taxonomy 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" /> … … 87 87 </tr> 88 88 <?php if ( !global_terms_enabled() ) { ?> 89 <tr class="form-field ">89 <tr class="form-field term-slug-wrap"> 90 90 <th scope="row"><label for="slug"><?php _ex('Slug', 'Taxonomy Slug'); ?></label></th> 91 91 <?php … … 103 103 <?php } ?> 104 104 <?php if ( is_taxonomy_hierarchical($taxonomy) ) : ?> 105 <tr class="form-field ">105 <tr class="form-field term-parent-wrap"> 106 106 <th scope="row"><label for="parent"><?php _ex('Parent', 'Taxonomy Parent'); ?></label></th> 107 107 <td> … … 113 113 </tr> 114 114 <?php endif; // is_taxonomy_hierarchical() ?> 115 <tr class="form-field ">115 <tr class="form-field term-description-wrap"> 116 116 <th scope="row"><label for="description"><?php _ex('Description', 'Taxonomy 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 /> -
trunk/src/wp-admin/edit-tags.php
r29782 r29803 448 448 <?php wp_nonce_field('add-tag', '_wpnonce_add-tag'); ?> 449 449 450 <div class="form-field form-required ">450 <div class="form-field form-required term-name-wrap"> 451 451 <label for="tag-name"><?php _ex('Name', 'Taxonomy Name'); ?></label> 452 452 <input name="tag-name" id="tag-name" type="text" value="" size="40" aria-required="true" /> … … 454 454 </div> 455 455 <?php if ( ! global_terms_enabled() ) : ?> 456 <div class="form-field ">456 <div class="form-field term-slug-wrap"> 457 457 <label for="tag-slug"><?php _ex('Slug', 'Taxonomy Slug'); ?></label> 458 458 <input name="slug" id="tag-slug" type="text" value="" size="40" /> … … 461 461 <?php endif; // global_terms_enabled() ?> 462 462 <?php if ( is_taxonomy_hierarchical($taxonomy) ) : ?> 463 <div class="form-field ">463 <div class="form-field term-parent-wrap"> 464 464 <label for="parent"><?php _ex('Parent', 'Taxonomy Parent'); ?></label> 465 465 <?php … … 501 501 </div> 502 502 <?php endif; // is_taxonomy_hierarchical() ?> 503 <div class="form-field ">503 <div class="form-field term-description-wrap"> 504 504 <label for="tag-description"><?php _ex('Description', 'Taxonomy Description'); ?></label> 505 505 <textarea name="description" id="tag-description" rows="5" cols="40"></textarea>
Note: See TracChangeset
for help on using the changeset viewer.