Skip to content

Commit 5d17c09

Browse files
committed
Remove category parent dropdown from edit link category form since link categories are non-hierarchical. fixes WordPress#4896
git-svn-id: https://develop.svn.wordpress.org/trunk@6013 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 2d3b05b commit 5d17c09

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

wp-admin/edit-link-category-form.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,6 @@
3232
<th scope="row" valign="top"><label for="slug"><?php _e('Category slug:') ?></label></th>
3333
<td><input name="slug" id="slug" type="text" value="<?php echo $category->slug; ?>" size="40" /></td>
3434
</tr>
35-
<tr>
36-
<th scope="row" valign="top"><label for="parent"><?php _e('Category parent:') ?></label></th>
37-
<td>
38-
<?php wp_dropdown_categories('hide_empty=0&name=parent&orderby=name&selected=' . $category->parent . '&hierarchical=1&show_option_none=' . __('None')); ?>
39-
</td>
40-
</tr>
4135
<tr>
4236
<th scope="row" valign="top"><label for="description"><?php _e('Description: (optional)') ?></label></th>
4337
<td><textarea name="description" id="description" rows="5" cols="50" style="width: 97%;"><?php echo $category->description; ?></textarea></td>

0 commit comments

Comments
 (0)