No reason not to have default for current category argument.

git-svn-id: http://svn.automattic.com/wordpress/trunk@1929 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
saxmatt 2004-12-09 00:44:05 +00:00
parent 2596b5a5c2
commit b6c13ceee4

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");