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

git-svn-id: http://svn.automattic.com/wordpress/trunk@4941 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
markjaquith 2007-02-25 13:41:38 +00:00
parent 5fde2708cf
commit 5a2ec38abb
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>