diff --git a/wp-includes/category-template.php b/wp-includes/category-template.php index 7215962bd7..86a2c40425 100644 --- a/wp-includes/category-template.php +++ b/wp-includes/category-template.php @@ -226,7 +226,7 @@ function wp_dropdown_categories($args = '') { } if ( $hierarchical ) - $depth = $r['$depth']; // Walk the full depth. + $depth = $r['depth']; // Walk the full depth. else $depth = -1; // Flat.