Add arg as array. Props MtDewVirus. fixes #6924

git-svn-id: http://svn.automattic.com/wordpress/trunk@7902 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-05-06 17:28:24 +00:00
parent 5d69e51c86
commit 5a9d1d9c8d
1 changed files with 4 additions and 1 deletions

View File

@ -734,7 +734,10 @@ function wp_widget_categories($args, $widget_args = 1) {
} else {
?>
<ul>
<?php wp_list_categories($cat_args . '&title_li='); ?>
<?php
$cat_args['title_li'] = '';
wp_list_categories($cat_args);
?>
</ul>
<?php
}