No reason not to have default for current category argument.

git-svn-id: https://develop.svn.wordpress.org/trunk@1929 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg 2004-12-09 00:44:05 +00:00
parent e519f7c239
commit 75e19e4ec2
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ function cat_rows($parent = 0, $level = 0, $categories = 0) {
}
}
function wp_dropdown_cats($currentcat, $currentparent = 0, $parent = 0, $level = 0, $categories = 0) {
function wp_dropdown_cats($currentcat = 0, $currentparent = 0, $parent = 0, $level = 0, $categories = 0) {
global $wpdb, $bgcolor;
if (!$categories) {
$categories = $wpdb->get_results("SELECT * FROM $wpdb->categories ORDER BY cat_name");