When using the traditional list view of the categories,
make sure the wp_list_categories() doesn't add in another title. This was causing a second Categories to show up on the category widget. Props Jospeh Scott git-svn-id: http://svn.automattic.com/wordpress/branches/2.2@5357 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
73d48439f8
commit
41a9ec3b9a
|
@ -552,7 +552,7 @@ function wp_widget_categories($args) {
|
|||
} else {
|
||||
?>
|
||||
<ul>
|
||||
<?php wp_list_categories($cat_args); ?>
|
||||
<?php wp_list_categories($cat_args . '&title_li='); ?>
|
||||
</ul>
|
||||
<?php
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue