Changeset 14647 for trunk/wp-admin/edit-tag-form.php
- Timestamp:
- 05/14/2010 09:46:25 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/edit-tag-form.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-tag-form.php
r14614 r14647 34 34 <table class="form-table"> 35 35 <tr class="form-field form-required"> 36 <th scope="row" valign="top"><label for="name"><?php echo _x('Name', 'Taxonomy Name'); ?></label></th>36 <th scope="row" valign="top"><label for="name"><?php _ex('Name', 'Taxonomy Name'); ?></label></th> 37 37 <td><input name="name" id="name" type="text" value="<?php if ( isset( $tag->name ) ) echo esc_attr($tag->name); ?>" size="40" aria-required="true" /> 38 38 <p class="description"><?php _e('The name is how it appears on your site.'); ?></p></td> … … 40 40 <?php if ( !global_terms_enabled() ) { ?> 41 41 <tr class="form-field"> 42 <th scope="row" valign="top"><label for="slug"><?php echo _x('Slug', 'Taxonomy Slug'); ?></label></th>42 <th scope="row" valign="top"><label for="slug"><?php _ex('Slug', 'Taxonomy Slug'); ?></label></th> 43 43 <td><input name="slug" id="slug" type="text" value="<?php if ( isset( $tag->slug ) ) echo esc_attr(apply_filters('editable_slug', $tag->slug)); ?>" size="40" /> 44 44 <p class="description"><?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></td> … … 47 47 <?php if ( is_taxonomy_hierarchical($taxonomy) ) : ?> 48 48 <tr class="form-field"> 49 <th scope="row" valign="top"><label for="parent"><?php echo _x('Parent', 'Taxonomy Parent'); ?></label></th>49 <th scope="row" valign="top"><label for="parent"><?php _ex('Parent', 'Taxonomy Parent'); ?></label></th> 50 50 <td> 51 51 <?php wp_dropdown_categories(array('hide_empty' => 0, 'hide_if_empty' => false, 'name' => 'parent', 'orderby' => 'name', 'taxonomy' => $taxonomy, 'selected' => $tag->parent, 'exclude' => $tag->term_id, 'hierarchical' => true, 'show_option_none' => __('None'))); ?><br /> … … 57 57 <?php endif; // is_taxonomy_hierarchical() ?> 58 58 <tr class="form-field"> 59 <th scope="row" valign="top"><label for="description"><?php echo _x('Description', 'Taxonomy Description'); ?></label></th>59 <th scope="row" valign="top"><label for="description"><?php _ex('Description', 'Taxonomy Description'); ?></label></th> 60 60 <td><textarea name="description" id="description" rows="5" cols="50" style="width: 97%;"><?php echo esc_html($tag->description); ?></textarea><br /> 61 61 <span class="description"><?php _e('The description is not prominent by default, however some themes may show it.'); ?></span></td>
Note: See TracChangeset
for help on using the changeset viewer.