Ticket #10644: edit-category-form.patch
| File edit-category-form.patch, 1.1 KB (added by , 16 years ago) |
|---|
-
wp-admin/edit-category-form.php
67 67 <tr class="form-field"> 68 68 <th scope="row" valign="top"><label for="category_parent"><?php _e('Category Parent') ?></label></th> 69 69 <td> 70 <?php wp_dropdown_categories(array('hide_empty' => 0, 'name' => 'category_parent', 'orderby' => 'name', 'selected' => $category->parent, ' hierarchical' => true, 'show_option_none' => __('None'))); ?><br />70 <?php wp_dropdown_categories(array('hide_empty' => 0, 'name' => 'category_parent', 'orderby' => 'name', 'selected' => $category->parent, 'exclude' => $category->term_id, 'hierarchical' => true, 'show_option_none' => __('None'))); ?><br /> 71 71 <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> 72 72 </td> 73 73 </tr>