Changeset 12818 for trunk/wp-admin/edit-tag-form.php
- Timestamp:
- 01/24/2010 11:00:27 AM (16 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/edit-tag-form.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-tag-form.php
r12712 r12818 40 40 <th scope="row" valign="top"><label for="slug"><?php _e('Tag slug') ?></label></th> 41 41 <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" /> 42 <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> 42 <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> 43 </tr> 44 <?php } ?> 45 <?php if ( is_taxonomy_hierarchical($taxonomy) ) { ?> 46 <tr class="form-field"> 47 <th scope="row" valign="top"><label for="parent"><?php _e('Category Parent') ?></label></th> 48 <td> 49 <?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 /> 50 <span class="description"><?php _e('Categories, unlike tags, can have a hierarchy. You might have a Jazz category, and under that have children categories for Bebop and Big Band. Totally optional.'); ?></span> 51 </td> 43 52 </tr> 44 53 <?php } ?> … … 46 55 <th scope="row" valign="top"><label for="description"><?php _e('Description') ?></label></th> 47 56 <td><textarea name="description" id="description" rows="5" cols="50" style="width: 97%;"><?php echo esc_html($tag->description); ?></textarea><br /> 48 <span class="description"><?php _e('The description is not prominent by default, however some themes may show it.'); ?></span></td>57 <span class="description"><?php _e('The description is not prominent by default, however some themes may show it.'); ?></span></td> 49 58 </tr> 50 59 <?php do_action('edit_tag_form_fields', $tag); ?>
Note: See TracChangeset
for help on using the changeset viewer.