Sort categories in dropdown by name rather than ID, when choosing a category parent. Props donncha. fixes #3823

git-svn-id: https://develop.svn.wordpress.org/trunk@4941 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Mark Jaquith 2007-02-25 13:41:38 +00:00
parent 11d28a5c07
commit a153fb5192
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ if ( ! empty($cat_ID) ) {
<tr>
<th scope="row" valign="top"><label for="category_parent"><?php _e('Category parent:') ?></label></th>
<td>
<?php wp_dropdown_categories('hide_empty=0&name=category_parent&selected=' . $category->category_parent . '&hierarchical=1&show_option_none=' . __('None')); ?>
<?php wp_dropdown_categories('hide_empty=0&name=category_parent&orderby=name&selected=' . $category->category_parent . '&hierarchical=1&show_option_none=' . __('None')); ?>
</td>
</tr>
<tr>