From 75e19e4ec2b20958e4e243ae9677aa043c9fa759 Mon Sep 17 00:00:00 2001 From: Matt Mullenweg Date: Thu, 9 Dec 2004 00:44:05 +0000 Subject: [PATCH] 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 --- wp-admin/admin-functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/admin-functions.php b/wp-admin/admin-functions.php index 8801e89b83..42bea39cda 100644 --- a/wp-admin/admin-functions.php +++ b/wp-admin/admin-functions.php @@ -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");