Use wp_dropdown_categories(). Fix padding. Don't allow a cat to be it's own parent. Props westi. fixes #3088

git-svn-id: https://develop.svn.wordpress.org/trunk@4156 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2006-09-01 20:38:24 +00:00
parent 936b87defb
commit d1ff29a59a
3 changed files with 4 additions and 6 deletions
+1 -1
View File
@@ -696,7 +696,7 @@ class Walker_CategoryDropdown extends Walker {
if ( $category->cat_ID == $args['selected'] )
$output .= ' selected="selected"';
$output .= '>';
$output .= $cat_name;
$output .= $pad.$cat_name;
if ( $args['show_count'] )
$output .= '  ('. $category->category_count .')';
if ( $args['show_last_update'] ) {