Add arg as array. Props MtDewVirus. fixes #6924

git-svn-id: https://develop.svn.wordpress.org/trunk@7902 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2008-05-06 17:28:24 +00:00
parent 3bd59c71f1
commit 493329d0ac
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
}