Remove category parent dropdown from edit link category form since link categories are non-hierarchical. fixes #4896
git-svn-id: https://develop.svn.wordpress.org/trunk@6013 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
2d3b05b2a6
commit
5d17c09b54
@ -32,12 +32,6 @@ if ( ! empty($cat_ID) ) {
|
||||
<th scope="row" valign="top"><label for="slug"><?php _e('Category slug:') ?></label></th>
|
||||
<td><input name="slug" id="slug" type="text" value="<?php echo $category->slug; ?>" size="40" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row" valign="top"><label for="parent"><?php _e('Category parent:') ?></label></th>
|
||||
<td>
|
||||
<?php wp_dropdown_categories('hide_empty=0&name=parent&orderby=name&selected=' . $category->parent . '&hierarchical=1&show_option_none=' . __('None')); ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row" valign="top"><label for="description"><?php _e('Description: (optional)') ?></label></th>
|
||||
<td><textarea name="description" id="description" rows="5" cols="50" style="width: 97%;"><?php echo $category->description; ?></textarea></td>
|
||||
|
Loading…
Reference in New Issue
Block a user