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:
parent
5d69e51c86
commit
5a9d1d9c8d
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue